Bubble
BubbleWiki
http://www.e-bulles.be/bubble/Main_Page_-_Accueil
MediaWiki 1.30.0
first-letter
Media
Special
Talk
User
User talk
Bubble
Bubble talk
File
File talk
MediaWiki
MediaWiki talk
Template
Template talk
Help
Help talk
Category
Category talk
Main Page
0
1
1
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Wiki software successfully installed.
Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.
MediaWiki:1movedto2
8
2
2
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
$1 moved to $2
MediaWiki:1movedto2 redir
8
3
3
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
$1 moved to $2 over redirect
MediaWiki:Monobook.css
8
4
4
2005-09-19T20:27:49Z
MediaWiki default
0
css
text/css
/* edit this file to customize the monobook skin for the entire site */
MediaWiki:Monobook.js
8
5
5
2005-09-19T20:27:49Z
MediaWiki default
0
javascript
text/javascript
/* tooltips and access keys */
ta = new Object();
ta['pt-userpage'] = new Array('.','My user page');
ta['pt-anonuserpage'] = new Array('.','The user page for the ip you\'re editing as');
ta['pt-mytalk'] = new Array('n','My talk page');
ta['pt-anontalk'] = new Array('n','Discussion about edits from this ip address');
ta['pt-preferences'] = new Array('','My preferences');
ta['pt-watchlist'] = new Array('l','The list of pages you\'re monitoring for changes.');
ta['pt-mycontris'] = new Array('y','List of my contributions');
ta['pt-login'] = new Array('o','You are encouraged to log in, it is not mandatory however.');
ta['pt-anonlogin'] = new Array('o','You are encouraged to log in, it is not mandatory however.');
ta['pt-logout'] = new Array('o','Log out');
ta['ca-talk'] = new Array('t','Discussion about the content page');
ta['ca-edit'] = new Array('e','You can edit this page. Please use the preview button before saving.');
ta['ca-addsection'] = new Array('+','Add a comment to this discussion.');
ta['ca-viewsource'] = new Array('e','This page is protected. You can view its source.');
ta['ca-history'] = new Array('h','Past versions of this page.');
ta['ca-protect'] = new Array('=','Protect this page');
ta['ca-delete'] = new Array('d','Delete this page');
ta['ca-undelete'] = new Array('d','Restore the edits done to this page before it was deleted');
ta['ca-move'] = new Array('m','Move this page');
ta['ca-watch'] = new Array('w','Add this page to your watchlist');
ta['ca-unwatch'] = new Array('w','Remove this page from your watchlist');
ta['search'] = new Array('f','Search this wiki');
ta['p-logo'] = new Array('','Main Page');
ta['n-mainpage'] = new Array('z','Visit the Main Page');
ta['n-portal'] = new Array('','About the project, what you can do, where to find things');
ta['n-currentevents'] = new Array('','Find background information on current events');
ta['n-recentchanges'] = new Array('r','The list of recent changes in the wiki.');
ta['n-randompage'] = new Array('x','Load a random page');
ta['n-help'] = new Array('','The place to find out.');
ta['n-sitesupport'] = new Array('','Support us');
ta['t-whatlinkshere'] = new Array('j','List of all wiki pages that link here');
ta['t-recentchangeslinked'] = new Array('k','Recent changes in pages linked from this page');
ta['feed-rss'] = new Array('','RSS feed for this page');
ta['feed-atom'] = new Array('','Atom feed for this page');
ta['t-contributions'] = new Array('','View the list of contributions of this user');
ta['t-emailuser'] = new Array('','Send a mail to this user');
ta['t-upload'] = new Array('u','Upload images or media files');
ta['t-specialpages'] = new Array('q','List of all special pages');
ta['ca-nstab-main'] = new Array('c','View the content page');
ta['ca-nstab-user'] = new Array('c','View the user page');
ta['ca-nstab-media'] = new Array('c','View the media page');
ta['ca-nstab-special'] = new Array('','This is a special page, you can\'t edit the page itself.');
ta['ca-nstab-wp'] = new Array('a','View the project page');
ta['ca-nstab-image'] = new Array('c','View the image page');
ta['ca-nstab-mediawiki'] = new Array('c','View the system message');
ta['ca-nstab-template'] = new Array('c','View the template');
ta['ca-nstab-help'] = new Array('c','View the help page');
ta['ca-nstab-category'] = new Array('c','View the category page');
MediaWiki:About
8
6
6
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
About
MediaWiki:Aboutpage
8
7
7
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Project:About
MediaWiki:Aboutsite
8
8
8
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
About {{SITENAME}}
MediaWiki:Accesskey-compareselectedversions
8
9
9
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
v
MediaWiki:Accesskey-diff
8
10
10
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
v
MediaWiki:Accesskey-minoredit
8
11
11
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
i
MediaWiki:Accesskey-preview
8
12
12
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
p
MediaWiki:Accesskey-save
8
13
13
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
s
MediaWiki:Accesskey-search
8
14
14
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
f
MediaWiki:Accmailtext
8
15
15
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
The password for '$1' has been sent to $2.
MediaWiki:Accmailtitle
8
16
16
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Password sent.
MediaWiki:Acct creation throttle hit
8
17
17
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Sorry, you have already created $1 accounts. You can't make any more.
MediaWiki:Actioncomplete
8
18
18
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Action complete
MediaWiki:Addedwatch
8
19
19
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Added to watchlist
MediaWiki:Addedwatchtext
8
20
20
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
The page "$1" has been added to your [[Special:Watchlist|watchlist]].
Future changes to this page and its associated Talk page will be listed there,
and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to
make it easier to pick out.
<p>If you want to remove the page from your watchlist later, click "Unwatch" in the sidebar.
MediaWiki:Addgroup
8
21
21
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Add Group
MediaWiki:Addgrouplogentry
8
22
22
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Added group $2
MediaWiki:Addsection
8
23
23
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
+
MediaWiki:Administrators
8
24
24
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Project:Administrators
MediaWiki:Allarticles
8
25
25
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
All articles
MediaWiki:Allinnamespace
8
26
26
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
All pages ($1 namespace)
MediaWiki:Alllogstext
8
27
27
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Combined display of upload, deletion, protection, blocking, and sysop logs.
You can narrow down the view by selecting a log type, the user name, or the affected page.
MediaWiki:Allmessages
8
28
28
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
System messages
MediaWiki:Allmessagescurrent
8
29
29
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Current text
MediaWiki:Allmessagesdefault
8
30
30
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Default text
MediaWiki:Allmessagesname
8
31
31
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Name
MediaWiki:AllmessagesnotsupportedDB
8
32
32
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Special:AllMessages not supported because wgUseDatabaseMessages is off.
MediaWiki:AllmessagesnotsupportedUI
8
33
33
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
Your current interface language <b>$1</b> is not supported by Special:AllMessages at this site.
MediaWiki:Allmessagestext
8
34
34
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
This is a list of system messages available in the MediaWiki: namespace.
MediaWiki:Allnonarticles
8
35
35
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
All non-articles
MediaWiki:Allnotinnamespace
8
36
36
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
All pages (not in $1 namespace)
MediaWiki:Allpages
8
37
37
2005-09-19T20:27:49Z
MediaWiki default
0
wikitext
text/x-wiki
All pages
MediaWiki:Allpagesfrom
8
38
38
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Display pages starting at:
MediaWiki:Allpagesnext
8
39
39
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Next
MediaWiki:Allpagesprev
8
40
40
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Previous
MediaWiki:Allpagessubmit
8
41
41
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Go
MediaWiki:Alphaindexline
8
42
42
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
$1 to $2
MediaWiki:Already bureaucrat
8
43
43
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
This user is already a bureaucrat
MediaWiki:Already steward
8
44
44
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
This user is already a steward
MediaWiki:Already sysop
8
45
45
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
This user is already an administrator
MediaWiki:Alreadyloggedin
8
46
46
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>User $1, you are already logged in!</strong><br />
MediaWiki:Alreadyrolled
8
47
47
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Cannot rollback last edit of [[$1]]
by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the page already.
Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]).
MediaWiki:Ancientpages
8
48
48
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Oldest pages
MediaWiki:And
8
49
49
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
and
MediaWiki:Anontalk
8
50
50
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Talk for this IP
MediaWiki:Anontalkpagetext
8
51
51
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
----''This is the discussion page for an anonymous user who has not created an account yet or who does not use it. We therefore have to use the numerical [[IP address]] to identify him/her. Such an IP address can be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please [[Special:Userlogin|create an account or log in]] to avoid future confusion with other anonymous users.''
MediaWiki:Anonymous
8
52
52
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Anonymous user(s) of {{SITENAME}}
MediaWiki:Apr
8
53
53
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Apr
MediaWiki:April
8
54
54
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
April
MediaWiki:Article
8
55
55
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Content page
MediaWiki:Articleexists
8
56
56
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
A page of that name already exists, or the
name you have chosen is not valid.
Please choose another name.
MediaWiki:Articlepage
8
57
57
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
View content page
MediaWiki:Aug
8
58
58
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Aug
MediaWiki:August
8
59
59
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
August
MediaWiki:Autoblocker
8
60
60
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Autoblocked because your IP address has been recently used by "[[User:$1|$1]]". The reason given for $1's block is: "'''$2'''"
MediaWiki:Badaccess
8
61
61
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Permission error
MediaWiki:Badaccesstext
8
62
62
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
The action you have requested is limited
to users with the "$2" permission assigned.
See $1.
MediaWiki:Badarticleerror
8
63
63
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
This action cannot be performed on this page.
MediaWiki:Badfilename
8
64
64
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
File name has been changed to "$1".
MediaWiki:Badfiletype
8
65
65
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
".$1" is not a recommended image file format.
MediaWiki:Badipaddress
8
66
66
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Invalid IP address
MediaWiki:Badquery
8
67
67
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Badly formed search query
MediaWiki:Badquerytext
8
68
68
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
We could not process your query.
This is probably because you have attempted to search for a
word fewer than three letters long, which is not yet supported.
It could also be that you have mistyped the expression, for
example "fish and and scales".
Please try another query.
MediaWiki:Badretype
8
69
69
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
The passwords you entered do not match.
MediaWiki:Badtitle
8
70
70
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Bad title
MediaWiki:Badtitletext
8
71
71
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
The requested page title was invalid, empty, or
an incorrectly linked inter-language or inter-wiki title.
MediaWiki:Blanknamespace
8
72
72
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
(Main)
MediaWiki:Blockedtext
8
73
73
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Your user name or IP address has been blocked by $1.
The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
[[Project:Administrators|administrators]] to discuss the block.
Note that you may not use the "email this user" feature unless you have a valid email address registered in your [[Special:Preferences|user preferences]].
Your IP address is $3. Please include this address in any queries you make.
MediaWiki:Blockedtitle
8
74
74
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
User is blocked
MediaWiki:Blockip
8
75
75
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Block user
MediaWiki:Blockipsuccesssub
8
76
76
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Block succeeded
MediaWiki:Blockipsuccesstext
8
77
77
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
[[{{ns:Special}}:Contributions/$1|$1]] has been blocked.
<br />See[[{{ns:Special}}:Ipblocklist|IP block list]] to review blocks.
MediaWiki:Blockiptext
8
78
78
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Use the form below to block write access
from a specific IP address or username.
This should be done only only to prevent vandalism, and in
accordance with [[Project:Policy|policy]].
Fill in a specific reason below (for example, citing particular
pages that were vandalized).
MediaWiki:Blocklink
8
79
79
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
block
MediaWiki:Blocklistline
8
80
80
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
$1, $2 blocked $3 ($4)
MediaWiki:Blocklogentry
8
81
81
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
blocked "[[$1]]" with an expiry time of $2
MediaWiki:Blocklogpage
8
82
82
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Block_log
MediaWiki:Blocklogtext
8
83
83
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
This is a log of user blocking and unblocking actions. Automatically
blocked IP addresses are not listed. See the [[Special:Ipblocklist|IP block list]] for
the list of currently operational bans and blocks.
MediaWiki:Bold sample
8
84
84
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Bold text
MediaWiki:Bold tip
8
85
85
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Bold text
MediaWiki:Booksources
8
86
86
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Book sources
MediaWiki:Booksourcetext
8
87
87
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Below is a list of links to other sites that
sell new and used books, and may also have further information
about books you are looking for.
MediaWiki:Brokenredirects
8
88
88
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Broken Redirects
MediaWiki:Brokenredirectstext
8
89
89
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
The following redirects link to a non-existing pages.
MediaWiki:Bugreports
8
90
90
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Bug reports
MediaWiki:Bugreportspage
8
91
91
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Project:Bug_reports
MediaWiki:Bureaucratlog
8
92
92
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Bureaucrat_log
MediaWiki:Bureaucratlogentry
8
93
93
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Changed group membership for $1 from $2 to $3
MediaWiki:Bydate
8
94
94
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
by date
MediaWiki:Byname
8
95
95
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
by name
MediaWiki:Bysize
8
96
96
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
by size
MediaWiki:Cachederror
8
97
97
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
The following is a cached copy of the requested page, and may not be up to date.
MediaWiki:Cancel
8
98
98
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Cancel
MediaWiki:Cannotdelete
8
99
99
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Could not delete the page or file specified. (It may have already been deleted by someone else.)
MediaWiki:Cantrollback
8
100
100
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Cannot revert edit; last contributor is only author of this page.
MediaWiki:Categories
8
101
101
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Categories
MediaWiki:Categoriespagetext
8
102
102
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
The following categories exist in the wiki.
MediaWiki:Category
8
103
103
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
category
MediaWiki:Category header
8
104
104
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Articles in category "$1"
MediaWiki:Categoryarticlecount
8
105
105
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
There are $1 articles in this category.
MediaWiki:Categoryarticlecount1
8
106
106
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
There is $1 article in this category.
MediaWiki:Changed
8
107
107
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
changed
MediaWiki:Changegrouplogentry
8
108
108
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Changed group $2
MediaWiki:Changepassword
8
109
109
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Change password
MediaWiki:Changes
8
110
110
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
changes
MediaWiki:Clearyourcache
8
111
111
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
'''Note:''' After saving, you may have to bypass your browser's cache to see the changes. '''Mozilla / Firefox / Safari:''' hold down ''Shift'' while clicking ''Reload'', or press ''Ctrl-Shift-R'' (''Cmd-Shift-R'' on Apple Mac); '''IE:''' hold ''Ctrl'' while clicking ''Refresh'', or press ''Ctrl-F5''; '''Konqueror:''': simply click the ''Reload'' button, or press ''F5''; '''Opera''' users may need to completely clear their cache in ''Tools→Preferences''.
MediaWiki:Columns
8
112
112
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Columns
MediaWiki:Compareselectedversions
8
113
113
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Compare selected versions
MediaWiki:Confirm
8
114
114
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Confirm
MediaWiki:Confirmdelete
8
115
115
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Confirm delete
MediaWiki:Confirmdeletetext
8
116
116
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
You are about to permanently delete a page
or image along with all of its history from the database.
Please confirm that you intend to do this, that you understand the
consequences, and that you are doing this in accordance with
[[Project:Policy]].
MediaWiki:Confirmemail
8
117
117
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Confirm E-mail address
MediaWiki:Confirmemail body
8
118
118
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Someone, probably you from IP address $1, has registered an
account "$2" with this e-mail address on {{SITENAME}}.
To confirm that this account really does belong to you and activate
e-mail features on {{SITENAME}}, open this link in your browser:
$3
If this is *not* you, don't follow the link. This confirmation code
will expire at $4.
MediaWiki:Confirmemail error
8
119
119
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Something went wrong saving your confirmation.
MediaWiki:Confirmemail invalid
8
120
120
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Invalid confirmation code. The code may have expired.
MediaWiki:Confirmemail loggedin
8
121
121
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Your e-mail address has now been confirmed.
MediaWiki:Confirmemail send
8
122
122
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Mail a confirmation code
MediaWiki:Confirmemail sendfailed
8
123
123
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Could not send confirmation mail. Check address for invalid characters.
MediaWiki:Confirmemail sent
8
124
124
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Confirmation e-mail sent.
MediaWiki:Confirmemail subject
8
125
125
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} e-mail address confirmation
MediaWiki:Confirmemail success
8
126
126
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Your e-mail address has been confirmed. You may now log in and enjoy the wiki.
MediaWiki:Confirmemail text
8
127
127
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
This wiki requires that you validate your e-mail address
before using e-mail features. Activate the button below to send a confirmation
mail to your address. The mail will include a link containing a code; load the
link in your browser to confirm that your e-mail address is valid.
MediaWiki:Confirmprotect
8
128
128
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Confirm protection
MediaWiki:Confirmprotecttext
8
129
129
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Do you really want to protect this page?
MediaWiki:Confirmunprotect
8
130
130
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Confirm unprotection
MediaWiki:Confirmunprotecttext
8
131
131
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Do you really want to unprotect this page?
MediaWiki:Contextchars
8
132
132
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Context per line
MediaWiki:Contextlines
8
133
133
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Lines per hit
MediaWiki:Contribs-showhideminor
8
134
134
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
$1 minor edits
MediaWiki:Contribslink
8
135
135
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
contribs
MediaWiki:Contribsub
8
136
136
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
For $1
MediaWiki:Contributions
8
137
137
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
User contributions
MediaWiki:Copyright
8
138
138
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Content is available under $1.
MediaWiki:Copyrightpage
8
139
139
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Project:Copyrights
MediaWiki:Copyrightpagename
8
140
140
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} copyright
MediaWiki:Copyrightwarning
8
141
141
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Please note that all contributions to {{SITENAME}} are
considered to be released under the $2 (see $1 for details).
If you don't want your writing to be edited mercilessly and redistributed
at will, then don't submit it here.<br />
You are also promising us that you wrote this yourself, or copied it from a
public domain or similar free resource.
<strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>
MediaWiki:Copyrightwarning2
8
142
142
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Please note that all contributions to {{SITENAME}}
may be edited, altered, or removed by other contributors.
If you don't want your writing to be edited mercilessly, then don't submit it here.<br />
You are also promising us that you wrote this yourself, or copied it from a
public domain or similar free resource (see $1 for details).
<strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>
MediaWiki:Couldntremove
8
143
143
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Couldn't remove item '$1'...
MediaWiki:Createaccount
8
144
144
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Create new account
MediaWiki:Createaccountmail
8
145
145
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
by email
MediaWiki:Createarticle
8
146
146
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Create article
MediaWiki:Created
8
147
147
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
created
MediaWiki:Creditspage
8
148
148
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Page credits
MediaWiki:Cur
8
149
149
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
cur
MediaWiki:Currentevents
8
150
150
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Current events
MediaWiki:Currentevents-url
8
151
151
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Current events
MediaWiki:Currentrev
8
152
152
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Current revision
MediaWiki:Currentrevisionlink
8
153
153
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
view current revision
MediaWiki:Data
8
154
154
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Data
MediaWiki:Databaseerror
8
155
155
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Database error
MediaWiki:Dateformat
8
156
156
2005-09-19T20:27:50Z
MediaWiki default
0
wikitext
text/x-wiki
Date format
MediaWiki:Dberrortext
8
157
157
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
A database query syntax error has occurred.
This may indicate a bug in the software.
The last attempted database query was:
<blockquote><tt>$1</tt></blockquote>
from within function "<tt>$2</tt>".
MySQL returned error "<tt>$3: $4</tt>".
MediaWiki:Dberrortextcl
8
158
158
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
A database query syntax error has occurred.
The last attempted database query was:
"$1"
from within function "$2".
MySQL returned error "$3: $4".
MediaWiki:Deadendpages
8
159
159
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Dead-end pages
MediaWiki:Debug
8
160
160
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Debug
MediaWiki:Dec
8
161
161
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Dec
MediaWiki:December
8
162
162
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
December
MediaWiki:Default
8
163
163
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
default
MediaWiki:Defaultns
8
164
164
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Search in these namespaces by default:
MediaWiki:Defemailsubject
8
165
165
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} e-mail
MediaWiki:Delete
8
166
166
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Delete
MediaWiki:Delete and move
8
167
167
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Delete and move
MediaWiki:Delete and move reason
8
168
168
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Deleted to make way for move
MediaWiki:Delete and move text
8
169
169
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
==Deletion required==
The destination article "[[$1]]" already exists. Do you want to delete it to make way for the move?
MediaWiki:Deletecomment
8
170
170
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Reason for deletion
MediaWiki:Deletedarticle
8
171
171
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
deleted "[[$1]]"
MediaWiki:Deletedrev
8
172
172
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
[deleted]
MediaWiki:Deletedrevision
8
173
173
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Deleted old revision $1.
MediaWiki:Deletedtext
8
174
174
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
"$1" has been deleted.
See $2 for a record of recent deletions.
MediaWiki:Deleteimg
8
175
175
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
del
MediaWiki:Deleteimgcompletely
8
176
176
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Delete all revisions of this file
MediaWiki:Deletepage
8
177
177
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Delete page
MediaWiki:Deletesub
8
178
178
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
(Deleting "$1")
MediaWiki:Deletethispage
8
179
179
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Delete this page
MediaWiki:Deletionlog
8
180
180
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
deletion log
MediaWiki:Dellogpage
8
181
181
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Deletion_log
MediaWiki:Dellogpagetext
8
182
182
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Below is a list of the most recent deletions.
MediaWiki:Destfilename
8
183
183
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Destination filename
MediaWiki:Developertext
8
184
184
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
The action you have requested can only be
performed by users with "developer" capability.
See $1.
MediaWiki:Developertitle
8
185
185
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Developer access required
MediaWiki:Diff
8
186
186
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
diff
MediaWiki:Difference
8
187
187
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
(Difference between revisions)
MediaWiki:Disambiguations
8
188
188
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Disambiguation pages
MediaWiki:Disambiguationspage
8
189
189
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Template:disambig
MediaWiki:Disambiguationstext
8
190
190
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
The following pages link to a <i>disambiguation page</i>. They should link to the appropriate topic instead.<br />A page is treated as disambiguation if it is linked from $1.<br />Links from other namespaces are <i>not</i> listed here.
MediaWiki:Disclaimerpage
8
191
191
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Project:General_disclaimer
MediaWiki:Disclaimers
8
192
192
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Disclaimers
MediaWiki:Doubleredirects
8
193
193
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Double redirects
MediaWiki:Doubleredirectstext
8
194
194
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Each row contains links to the first and second redirect, as well as the first line of the second redirect text, usually giving the "real" target page, which the first redirect should point to.
MediaWiki:Eauthentsent
8
195
195
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
A confirmation email has been sent to the nominated email address.
Before any other mail is sent to the account, you will have to follow the instructions in the email,
to confirm that the account is actually yours.
MediaWiki:Edit
8
196
196
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Edit
MediaWiki:Edit-externally
8
197
197
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Edit this file using an external application
MediaWiki:Edit-externally-help
8
198
198
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
See the [http://meta.wikimedia.org/wiki/Help:External_editors setup instructions] for more information.
MediaWiki:Editcomment
8
199
199
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
The edit comment was: "<i>$1</i>".
MediaWiki:Editconflict
8
200
200
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Edit conflict: $1
MediaWiki:Editcurrent
8
201
201
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Edit the current version of this page
MediaWiki:Editgroup
8
202
202
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Edit Group
MediaWiki:Edithelp
8
203
203
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Editing help
MediaWiki:Edithelppage
8
204
204
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Help:Editing
MediaWiki:Editing
8
205
205
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Editing $1
MediaWiki:Editingcomment
8
206
206
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Editing $1 (comment)
MediaWiki:Editingold
8
207
207
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>WARNING: You are editing an out-of-date
revision of this page.
If you save it, any changes made since this revision will be lost.</strong>
MediaWiki:Editingsection
8
208
208
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Editing $1 (section)
MediaWiki:Editsection
8
209
209
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
edit
MediaWiki:Editthispage
8
210
210
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Edit this page
MediaWiki:Editusergroup
8
211
211
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Edit User Groups
MediaWiki:Email
8
212
212
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Email
MediaWiki:Emailauthenticated
8
213
213
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Your email address was authenticated on $1.
MediaWiki:Emailconfirmlink
8
214
214
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Confirm your e-mail address
MediaWiki:Emailflag
8
215
215
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Disable e-mail from other users
MediaWiki:Emailforlost
8
216
216
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Fields marked with superscripts are optional. Storing an email address enables people to contact you through the website without you having to reveal your
email address to them, and it can be used to send you a new password if you forget it.<br /><br />Your real name, if you choose to provide it, will be used for giving you attribution for your work.
MediaWiki:Emailfrom
8
217
217
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
From
MediaWiki:Emailmessage
8
218
218
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Message
MediaWiki:Emailnotauthenticated
8
219
219
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Your email address is <strong>not yet authenticated</strong>. No email
will be sent for any of the following features.
MediaWiki:Emailpage
8
220
220
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
E-mail user
MediaWiki:Emailpagetext
8
221
221
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
If this user has entered a valid e-mail address in
his or her user preferences, the form below will send a single message.
The e-mail address you entered in your user preferences will appear
as the "From" address of the mail, so the recipient will be able
to reply.
MediaWiki:Emailsend
8
222
222
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Send
MediaWiki:Emailsent
8
223
223
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
E-mail sent
MediaWiki:Emailsenttext
8
224
224
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Your e-mail message has been sent.
MediaWiki:Emailsubject
8
225
225
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Subject
MediaWiki:Emailto
8
226
226
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
To
MediaWiki:Emailuser
8
227
227
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
E-mail this user
MediaWiki:Emptyfile
8
228
228
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
The file you uploaded seems to be empty. This might be due to a typo in the file name. Please check whether you really want to upload this file.
MediaWiki:Enotif body
8
229
229
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Dear $WATCHINGUSERNAME,
the {{SITENAME}} page $PAGETITLE has been $CHANGEDORCREATED on $PAGEEDITDATE by $PAGEEDITOR, see $PAGETITLE_URL for the current version.
$NEWPAGE
Editor's summary: $PAGESUMMARY $PAGEMINOREDIT
Contact the editor:
mail: $PAGEEDITOR_EMAIL
wiki: $PAGEEDITOR_WIKI
There will be no other notifications in case of further changes unless you visit this page. You could also reset the notification flags for all your watched pages on your watchlist.
Your friendly {{SITENAME}} notification system
--
To change your watchlist settings, visit
{{SERVER}}{{localurl:Special:Watchlist/edit}}
Feedback and further assistance:
{{SERVER}}{{localurl:Help:Contents}}
MediaWiki:Enotif lastvisited
8
230
230
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
See $1 for all changes since your last visit.
MediaWiki:Enotif mailer
8
231
231
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} Notification Mailer
MediaWiki:Enotif newpagetext
8
232
232
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
This is a new page.
MediaWiki:Enotif reset
8
233
233
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Mark all pages visited
MediaWiki:Enotif subject
8
234
234
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} page $PAGETITLE has been $CHANGEDORCREATED by $PAGEEDITOR
MediaWiki:Enterlockreason
8
235
235
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Enter a reason for the lock, including an estimate
of when the lock will be released
MediaWiki:Error
8
236
236
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Error
MediaWiki:Errorpagetitle
8
237
237
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Error
MediaWiki:Exbeforeblank
8
238
238
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
content before blanking was: '$1'
MediaWiki:Exblank
8
239
239
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
page was empty
MediaWiki:Excontent
8
240
240
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
content was: '$1'
MediaWiki:Excontentauthor
8
241
241
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
content was: '$1' (and the only contributor was '$2')
MediaWiki:Exif-aperturevalue
8
242
242
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Aperture
MediaWiki:Exif-artist
8
243
243
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Author
MediaWiki:Exif-bitspersample
8
244
244
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Bits per component
MediaWiki:Exif-brightnessvalue
8
245
245
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Brightness
MediaWiki:Exif-cfapattern
8
246
246
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
CFA pattern
MediaWiki:Exif-colorspace
8
247
247
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Color space
MediaWiki:Exif-colorspace-1
8
248
248
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
sRGB
MediaWiki:Exif-colorspace-ffff.h
8
249
249
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
FFFF.H
MediaWiki:Exif-componentsconfiguration
8
250
250
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Meaning of each component
MediaWiki:Exif-componentsconfiguration-0
8
251
251
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
does not exist
MediaWiki:Exif-componentsconfiguration-1
8
252
252
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Y
MediaWiki:Exif-componentsconfiguration-2
8
253
253
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Cb
MediaWiki:Exif-componentsconfiguration-3
8
254
254
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Cr
MediaWiki:Exif-componentsconfiguration-4
8
255
255
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
R
MediaWiki:Exif-componentsconfiguration-5
8
256
256
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
G
MediaWiki:Exif-componentsconfiguration-6
8
257
257
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
B
MediaWiki:Exif-compressedbitsperpixel
8
258
258
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Image compression mode
MediaWiki:Exif-compression
8
259
259
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Compression scheme
MediaWiki:Exif-compression-1
8
260
260
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Uncompressed
MediaWiki:Exif-compression-6
8
261
261
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
JPEG
MediaWiki:Exif-contrast
8
262
262
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Contrast
MediaWiki:Exif-contrast-0
8
263
263
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Normal
MediaWiki:Exif-contrast-1
8
264
264
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Soft
MediaWiki:Exif-contrast-2
8
265
265
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Hard
MediaWiki:Exif-copyright
8
266
266
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Copyright holder
MediaWiki:Exif-customrendered
8
267
267
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Custom image processing
MediaWiki:Exif-customrendered-0
8
268
268
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Normal process
MediaWiki:Exif-customrendered-1
8
269
269
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Custom process
MediaWiki:Exif-datetime
8
270
270
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
File change date and time
MediaWiki:Exif-datetimedigitized
8
271
271
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Date and time of digitizing
MediaWiki:Exif-datetimeoriginal
8
272
272
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Date and time of data generation
MediaWiki:Exif-devicesettingdescription
8
273
273
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Device settings description
MediaWiki:Exif-digitalzoomratio
8
274
274
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Digital zoom ratio
MediaWiki:Exif-exifversion
8
275
275
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Exif version
MediaWiki:Exif-exposurebiasvalue
8
276
276
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Exposure bias
MediaWiki:Exif-exposureindex
8
277
277
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Exposure index
MediaWiki:Exif-exposuremode
8
278
278
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Exposure mode
MediaWiki:Exif-exposuremode-0
8
279
279
2005-09-19T20:27:51Z
MediaWiki default
0
wikitext
text/x-wiki
Auto exposure
MediaWiki:Exif-exposuremode-1
8
280
280
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Manual exposure
MediaWiki:Exif-exposuremode-2
8
281
281
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Auto bracket
MediaWiki:Exif-exposureprogram
8
282
282
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Exposure Program
MediaWiki:Exif-exposureprogram-0
8
283
283
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Not defined
MediaWiki:Exif-exposureprogram-1
8
284
284
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Manual
MediaWiki:Exif-exposureprogram-2
8
285
285
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Normal program
MediaWiki:Exif-exposureprogram-3
8
286
286
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Aperture priority
MediaWiki:Exif-exposureprogram-4
8
287
287
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Shutter priority
MediaWiki:Exif-exposureprogram-5
8
288
288
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Creative program (biased toward depth of field)
MediaWiki:Exif-exposureprogram-6
8
289
289
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Action program (biased toward fast shutter speed)
MediaWiki:Exif-exposureprogram-7
8
290
290
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Portrait mode (for closeup photos with the background out of focus)
MediaWiki:Exif-exposureprogram-8
8
291
291
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Landscape mode (for landscape photos with the background in focus)
MediaWiki:Exif-exposuretime
8
292
292
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Exposure time
MediaWiki:Exif-filesource
8
293
293
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
File source
MediaWiki:Exif-filesource-3
8
294
294
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
DSC
MediaWiki:Exif-flash
8
295
295
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Flash
MediaWiki:Exif-flashenergy
8
296
296
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Flash energy
MediaWiki:Exif-flashpixversion
8
297
297
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Supported Flashpix version
MediaWiki:Exif-fnumber
8
298
298
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
F Number
MediaWiki:Exif-focallength
8
299
299
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Lens focal length
MediaWiki:Exif-focallengthin35mmfilm
8
300
300
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Focal length in 35 mm film
MediaWiki:Exif-focalplaneresolutionunit
8
301
301
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Focal plane resolution unit
MediaWiki:Exif-focalplaneresolutionunit-2
8
302
302
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
inches
MediaWiki:Exif-focalplanexresolution
8
303
303
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Focal plane X resolution
MediaWiki:Exif-focalplaneyresolution
8
304
304
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Focal plane Y resolution
MediaWiki:Exif-gaincontrol
8
305
305
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Scene control
MediaWiki:Exif-gaincontrol-0
8
306
306
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
None
MediaWiki:Exif-gaincontrol-1
8
307
307
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Low gain up
MediaWiki:Exif-gaincontrol-2
8
308
308
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
High gain up
MediaWiki:Exif-gaincontrol-3
8
309
309
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Low gain down
MediaWiki:Exif-gaincontrol-4
8
310
310
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
High gain down
MediaWiki:Exif-gpsaltitude
8
311
311
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Altitude
MediaWiki:Exif-gpsaltituderef
8
312
312
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Altitude reference
MediaWiki:Exif-gpsareainformation
8
313
313
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Name of GPS area
MediaWiki:Exif-gpsdatestamp
8
314
314
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
GPS date
MediaWiki:Exif-gpsdestbearing
8
315
315
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Bearing of destination
MediaWiki:Exif-gpsdestbearingref
8
316
316
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Reference for bearing of destination
MediaWiki:Exif-gpsdestdistance
8
317
317
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Distance to destination
MediaWiki:Exif-gpsdestdistanceref
8
318
318
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Reference for distance to destination
MediaWiki:Exif-gpsdestlatitude
8
319
319
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Latitude destination
MediaWiki:Exif-gpsdestlatituderef
8
320
320
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Reference for latitude of destination
MediaWiki:Exif-gpsdestlongitude
8
321
321
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Longitude of destination
MediaWiki:Exif-gpsdestlongituderef
8
322
322
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Reference for longitude of destination
MediaWiki:Exif-gpsdifferential
8
323
323
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
GPS differential correction
MediaWiki:Exif-gpsdirection-m
8
324
324
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Magnetic direction
MediaWiki:Exif-gpsdirection-t
8
325
325
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
True direction
MediaWiki:Exif-gpsdop
8
326
326
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Measurement precision
MediaWiki:Exif-gpsimgdirection
8
327
327
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Direction of image
MediaWiki:Exif-gpsimgdirectionref
8
328
328
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Reference for direction of image
MediaWiki:Exif-gpslatitude
8
329
329
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Latitude
MediaWiki:Exif-gpslatitude-n
8
330
330
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
North latitude
MediaWiki:Exif-gpslatitude-s
8
331
331
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
South latitude
MediaWiki:Exif-gpslatituderef
8
332
332
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
North or South Latitude
MediaWiki:Exif-gpslongitude
8
333
333
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Longitude
MediaWiki:Exif-gpslongitude-e
8
334
334
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
East longitude
MediaWiki:Exif-gpslongitude-w
8
335
335
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
West longitude
MediaWiki:Exif-gpslongituderef
8
336
336
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
East or West Longitude
MediaWiki:Exif-gpsmapdatum
8
337
337
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Geodetic survey data used
MediaWiki:Exif-gpsmeasuremode
8
338
338
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Measurement mode
MediaWiki:Exif-gpsmeasuremode-2
8
339
339
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
2-dimensional measurement
MediaWiki:Exif-gpsmeasuremode-3
8
340
340
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
3-dimensional measurement
MediaWiki:Exif-gpsprocessingmethod
8
341
341
2005-09-19T20:27:52Z
MediaWiki default
0
wikitext
text/x-wiki
Name of GPS processing method
MediaWiki:Exif-gpssatellites
8
342
342
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Satellites used for measurement
MediaWiki:Exif-gpsspeed
8
343
343
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Speed of GPS receiver
MediaWiki:Exif-gpsspeed-k
8
344
344
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Kilometres per hour
MediaWiki:Exif-gpsspeed-m
8
345
345
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Miles per hour
MediaWiki:Exif-gpsspeed-n
8
346
346
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Knots
MediaWiki:Exif-gpsspeedref
8
347
347
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Speed unit
MediaWiki:Exif-gpsstatus
8
348
348
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Receiver status
MediaWiki:Exif-gpsstatus-a
8
349
349
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Measurement in progress
MediaWiki:Exif-gpsstatus-v
8
350
350
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Measurement interoperability
MediaWiki:Exif-gpstimestamp
8
351
351
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
GPS time (atomic clock)
MediaWiki:Exif-gpstrack
8
352
352
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Direction of movement
MediaWiki:Exif-gpstrackref
8
353
353
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Reference for direction of movement
MediaWiki:Exif-gpsversionid
8
354
354
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
GPS tag version
MediaWiki:Exif-imagedescription
8
355
355
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Image title
MediaWiki:Exif-imagelength
8
356
356
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Height
MediaWiki:Exif-imageuniqueid
8
357
357
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Unique image ID
MediaWiki:Exif-imagewidth
8
358
358
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Width
MediaWiki:Exif-isospeedratings
8
359
359
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
ISO speed rating
MediaWiki:Exif-jpeginterchangeformat
8
360
360
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Offset to JPEG SOI
MediaWiki:Exif-jpeginterchangeformatlength
8
361
361
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Bytes of JPEG data
MediaWiki:Exif-lightsource
8
362
362
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Light source
MediaWiki:Exif-lightsource-0
8
363
363
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Unknown
MediaWiki:Exif-lightsource-1
8
364
364
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Daylight
MediaWiki:Exif-lightsource-10
8
365
365
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Clody weather
MediaWiki:Exif-lightsource-11
8
366
366
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Shade
MediaWiki:Exif-lightsource-12
8
367
367
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Daylight fluorescent (D 5700 – 7100K)
MediaWiki:Exif-lightsource-13
8
368
368
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Day white fluorescent (N 4600 – 5400K)
MediaWiki:Exif-lightsource-14
8
369
369
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Cool white fluorescent (W 3900 – 4500K)
MediaWiki:Exif-lightsource-15
8
370
370
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
White fluorescent (WW 3200 – 3700K)
MediaWiki:Exif-lightsource-17
8
371
371
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Standard light A
MediaWiki:Exif-lightsource-18
8
372
372
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Standard light B
MediaWiki:Exif-lightsource-19
8
373
373
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Standard light C
MediaWiki:Exif-lightsource-2
8
374
374
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Fluorescent
MediaWiki:Exif-lightsource-20
8
375
375
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
D55
MediaWiki:Exif-lightsource-21
8
376
376
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
D65
MediaWiki:Exif-lightsource-22
8
377
377
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
D75
MediaWiki:Exif-lightsource-23
8
378
378
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
D50
MediaWiki:Exif-lightsource-24
8
379
379
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
ISO studio tungsten
MediaWiki:Exif-lightsource-255
8
380
380
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Other light source
MediaWiki:Exif-lightsource-3
8
381
381
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Tungsten (incandescent light)
MediaWiki:Exif-lightsource-4
8
382
382
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Flash
MediaWiki:Exif-lightsource-9
8
383
383
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Fine weather
MediaWiki:Exif-make
8
384
384
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Camera manufacturer
MediaWiki:Exif-make-value
8
385
385
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
$1
MediaWiki:Exif-makernote
8
386
386
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Manufacturer notes
MediaWiki:Exif-maxaperturevalue
8
387
387
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Maximum land aperture
MediaWiki:Exif-meteringmode
8
388
388
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Metering mode
MediaWiki:Exif-meteringmode-0
8
389
389
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Unknown
MediaWiki:Exif-meteringmode-1
8
390
390
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Average
MediaWiki:Exif-meteringmode-2
8
391
391
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
CenterWeightedAverage
MediaWiki:Exif-meteringmode-255
8
392
392
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Other
MediaWiki:Exif-meteringmode-3
8
393
393
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Spot
MediaWiki:Exif-meteringmode-4
8
394
394
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
MultiSpot
MediaWiki:Exif-meteringmode-5
8
395
395
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Pattern
MediaWiki:Exif-meteringmode-6
8
396
396
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Partial
MediaWiki:Exif-model
8
397
397
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Camera model
MediaWiki:Exif-model-value
8
398
398
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
$1
MediaWiki:Exif-oecf
8
399
399
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Optoelectronic conversion factor
MediaWiki:Exif-orientation
8
400
400
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Orientation
MediaWiki:Exif-orientation-1
8
401
401
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Normal
MediaWiki:Exif-orientation-2
8
402
402
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Flipped horizontally
MediaWiki:Exif-orientation-3
8
403
403
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Rotated 180°
MediaWiki:Exif-orientation-4
8
404
404
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Flipped vertically
MediaWiki:Exif-orientation-5
8
405
405
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Rotated 90° CCW and flipped vertically
MediaWiki:Exif-orientation-6
8
406
406
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Rotated 90° CW
MediaWiki:Exif-orientation-7
8
407
407
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Rotated 90° CW and flipped vertically
MediaWiki:Exif-orientation-8
8
408
408
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Rotated 90° CCW
MediaWiki:Exif-photometricinterpretation
8
409
409
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Pixel composition
MediaWiki:Exif-photometricinterpretation-1
8
410
410
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
RGB
MediaWiki:Exif-photometricinterpretation-6
8
411
411
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
YCbCr
MediaWiki:Exif-pixelxdimension
8
412
412
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Valind image height
MediaWiki:Exif-pixelydimension
8
413
413
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Valid image width
MediaWiki:Exif-planarconfiguration
8
414
414
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Data arrangement
MediaWiki:Exif-planarconfiguration-1
8
415
415
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
chunky format
MediaWiki:Exif-planarconfiguration-2
8
416
416
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
planar format
MediaWiki:Exif-primarychromaticities
8
417
417
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Chromaticities of primarities
MediaWiki:Exif-referenceblackwhite
8
418
418
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Pair of black and white reference values
MediaWiki:Exif-relatedsoundfile
8
419
419
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Related audio file
MediaWiki:Exif-resolutionunit
8
420
420
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Unit of X and Y resolution
MediaWiki:Exif-rowsperstrip
8
421
421
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Number of rows per strip
MediaWiki:Exif-samplesperpixel
8
422
422
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Number of components
MediaWiki:Exif-saturation
8
423
423
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Saturation
MediaWiki:Exif-saturation-0
8
424
424
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Normal
MediaWiki:Exif-saturation-1
8
425
425
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Low saturation
MediaWiki:Exif-saturation-2
8
426
426
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
High saturation
MediaWiki:Exif-scenecapturetype
8
427
427
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Scene capture type
MediaWiki:Exif-scenecapturetype-0
8
428
428
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Standard
MediaWiki:Exif-scenecapturetype-1
8
429
429
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Landscape
MediaWiki:Exif-scenecapturetype-2
8
430
430
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Portrait
MediaWiki:Exif-scenecapturetype-3
8
431
431
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Night scene
MediaWiki:Exif-scenetype
8
432
432
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Scene type
MediaWiki:Exif-scenetype-1
8
433
433
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
A directly photographed image
MediaWiki:Exif-sensingmethod
8
434
434
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Sensing method
MediaWiki:Exif-sensingmethod-1
8
435
435
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Undefined
MediaWiki:Exif-sensingmethod-2
8
436
436
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
One-chip color area sensor
MediaWiki:Exif-sensingmethod-3
8
437
437
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Two-chip color area sensor
MediaWiki:Exif-sensingmethod-4
8
438
438
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Three-chip color area sensor
MediaWiki:Exif-sensingmethod-5
8
439
439
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Color sequential area sensor
MediaWiki:Exif-sensingmethod-7
8
440
440
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Trilinear sensor
MediaWiki:Exif-sensingmethod-8
8
441
441
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Color sequential linear sensor
MediaWiki:Exif-sharpness
8
442
442
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Sharpness
MediaWiki:Exif-sharpness-0
8
443
443
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Normal
MediaWiki:Exif-sharpness-1
8
444
444
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Soft
MediaWiki:Exif-sharpness-2
8
445
445
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Hard
MediaWiki:Exif-shutterspeedvalue
8
446
446
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Shutter speed
MediaWiki:Exif-software
8
447
447
2005-09-19T20:27:53Z
MediaWiki default
0
wikitext
text/x-wiki
Software used
MediaWiki:Exif-software-value
8
448
448
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
$1
MediaWiki:Exif-spatialfrequencyresponse
8
449
449
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Spatial frequency response
MediaWiki:Exif-spectralsensitivity
8
450
450
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Spectral sensitivity
MediaWiki:Exif-stripbytecounts
8
451
451
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Bytes per compressed strip
MediaWiki:Exif-stripoffsets
8
452
452
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Image data location
MediaWiki:Exif-subjectarea
8
453
453
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Subject area
MediaWiki:Exif-subjectdistance
8
454
454
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Subject distance
MediaWiki:Exif-subjectdistance-value
8
455
455
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
$1 metres
MediaWiki:Exif-subjectdistancerange
8
456
456
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Subject distance range
MediaWiki:Exif-subjectdistancerange-0
8
457
457
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Unknown
MediaWiki:Exif-subjectdistancerange-1
8
458
458
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Macro
MediaWiki:Exif-subjectdistancerange-2
8
459
459
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Close view
MediaWiki:Exif-subjectdistancerange-3
8
460
460
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Distant view
MediaWiki:Exif-subjectlocation
8
461
461
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Subject location
MediaWiki:Exif-subsectime
8
462
462
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
DateTime subseconds
MediaWiki:Exif-subsectimedigitized
8
463
463
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
DateTimeDigitized subseconds
MediaWiki:Exif-subsectimeoriginal
8
464
464
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
DateTimeOriginal subseconds
MediaWiki:Exif-transferfunction
8
465
465
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Transfer function
MediaWiki:Exif-usercomment
8
466
466
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
User comments
MediaWiki:Exif-whitebalance
8
467
467
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
White Balance
MediaWiki:Exif-whitebalance-0
8
468
468
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Auto white balance
MediaWiki:Exif-whitebalance-1
8
469
469
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Manual white balance
MediaWiki:Exif-whitepoint
8
470
470
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
White point chromaticity
MediaWiki:Exif-xresolution
8
471
471
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Horizontal resolution
MediaWiki:Exif-xyresolution-c
8
472
472
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
$1 dpc
MediaWiki:Exif-xyresolution-i
8
473
473
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
$1 dpi
MediaWiki:Exif-ycbcrcoefficients
8
474
474
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Color space transformation matrix coefficients
MediaWiki:Exif-ycbcrpositioning
8
475
475
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Y and C positioning
MediaWiki:Exif-ycbcrsubsampling
8
476
476
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Subsampling ratio of Y to C
MediaWiki:Exif-yresolution
8
477
477
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Vertical resolution
MediaWiki:Expiringblock
8
478
478
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
expires $1
MediaWiki:Explainconflict
8
479
479
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Someone else has changed this page since you
started editing it.
The upper text area contains the page text as it currently exists.
Your changes are shown in the lower text area.
You will have to merge your changes into the existing text.
<b>Only</b> the text in the upper text area will be saved when you
press "Save page".<br />
MediaWiki:Export
8
480
480
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Export pages
MediaWiki:Exportcuronly
8
481
481
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Include only the current revision, not the full history
MediaWiki:Exporttext
8
482
482
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
You can export the text and editing history of a particular page or
set of pages wrapped in some XML. In the future, this may then be imported into another
wiki running MediaWiki software, although there is no support for this feature in the
current version.
To export article pages, enter the titles in the text box below, one title per line, and
select whether you want the current version as well as all old versions, with the page
history lines, or just the current version with the info about the last edit.
In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/Train]] for the
article [[Train]].
MediaWiki:Externaldberror
8
483
483
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
There was either an external authentication database error or you are not allowed to update your external account.
MediaWiki:Extlink sample
8
484
484
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
http://www.example.com link title
MediaWiki:Extlink tip
8
485
485
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
External link (remember http:// prefix)
MediaWiki:Faq
8
486
486
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
FAQ
MediaWiki:Faqpage
8
487
487
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Project:FAQ
MediaWiki:Feb
8
488
488
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Feb
MediaWiki:February
8
489
489
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
February
MediaWiki:Feedlinks
8
490
490
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Feed:
MediaWiki:Filecopyerror
8
491
491
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Could not copy file "$1" to "$2".
MediaWiki:Filedeleteerror
8
492
492
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Could not delete file "$1".
MediaWiki:Filedesc
8
493
493
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Summary
MediaWiki:Fileexists
8
494
494
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
A file with this name exists already, please check $1 if you are not sure if you want to change it.
MediaWiki:Fileinfo
8
495
495
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
$1KB, MIME type: <code>$2</code>
MediaWiki:Filemissing
8
496
496
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
File missing
MediaWiki:Filename
8
497
497
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Filename
MediaWiki:Filenotfound
8
498
498
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Could not find file "$1".
MediaWiki:Filerenameerror
8
499
499
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Could not rename file "$1" to "$2".
MediaWiki:Files
8
500
500
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Files
MediaWiki:Filesource
8
501
501
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Source
MediaWiki:Filestatus
8
502
502
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Copyright status
MediaWiki:Fileuploaded
8
503
503
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
File $1 uploaded successfully.
Please follow this link: $2 to the description page and fill
in information about the file, such as where it came from, when it was
created and by whom, and anything else you may know about it. If this is an image, you can insert it like this: <tt><nowiki>[[Image:$1|thumb|Description]]</nowiki></tt>
MediaWiki:Formerror
8
504
504
2005-09-19T20:27:54Z
MediaWiki default
0
wikitext
text/x-wiki
Error: could not submit form
MediaWiki:Friday
8
505
505
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Friday
MediaWiki:Geo
8
506
506
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
GEO coordinates
MediaWiki:Getimagelist
8
507
507
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
fetching file list
MediaWiki:Go
8
508
508
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Go
MediaWiki:Googlesearch
8
509
509
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
<form method="get" action="http://www.google.com/search" id="googlesearch">
<input type="hidden" name="domains" value="{{SERVER}}" />
<input type="hidden" name="num" value="50" />
<input type="hidden" name="ie" value="$2" />
<input type="hidden" name="oe" value="$2" />
<input type="text" name="q" size="31" maxlength="255" value="$1" />
<input type="submit" name="btnG" value="$3" />
<div>
<input type="radio" name="sitesearch" id="gwiki" value="{{SERVER}}" checked="checked" /><label for="gwiki">{{SITENAME}}</label>
<input type="radio" name="sitesearch" id="gWWW" value="" /><label for="gWWW">WWW</label>
</div>
</form>
MediaWiki:Group-admin-desc
8
510
510
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Trusted users able to block users and delete articles
MediaWiki:Group-admin-name
8
511
511
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Administrator
MediaWiki:Group-anon-desc
8
512
512
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Anonymous users
MediaWiki:Group-anon-name
8
513
513
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Anonymous
MediaWiki:Group-bureaucrat-desc
8
514
514
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
The bureaucrat group is able to make sysops
MediaWiki:Group-bureaucrat-name
8
515
515
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Bureaucrat
MediaWiki:Group-loggedin-desc
8
516
516
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
General logged in users
MediaWiki:Group-loggedin-name
8
517
517
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
User
MediaWiki:Group-steward-desc
8
518
518
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Full access
MediaWiki:Group-steward-name
8
519
519
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Steward
MediaWiki:Groups
8
520
520
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
User groups
MediaWiki:Groups-addgroup
8
521
521
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Add group
MediaWiki:Groups-already-exists
8
522
522
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
A group of that name already exists
MediaWiki:Groups-editgroup
8
523
523
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Edit group
MediaWiki:Groups-editgroup-description
8
524
524
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Group description (max 255 characters):<br />
MediaWiki:Groups-editgroup-name
8
525
525
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Group name:
MediaWiki:Groups-editgroup-preamble
8
526
526
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
If the name or description starts with a colon, the
remainder will be treated as a message name, and hence the text will be localised
using the MediaWiki namespace
MediaWiki:Groups-existing
8
527
527
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Existing groups
MediaWiki:Groups-group-edit
8
528
528
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Existing groups:
MediaWiki:Groups-lookup-group
8
529
529
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Manage group rights
MediaWiki:Groups-noname
8
530
530
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Please specify a valid group name
MediaWiki:Groups-tableheader
8
531
531
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
ID || Name || Description || Rights
MediaWiki:Guesstimezone
8
532
532
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Fill in from browser
MediaWiki:Headline sample
8
533
533
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Headline text
MediaWiki:Headline tip
8
534
534
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Level 2 headline
MediaWiki:Help
8
535
535
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Help
MediaWiki:Helppage
8
536
536
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Help:Contents
MediaWiki:Hide
8
537
537
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Hide
MediaWiki:Hidetoc
8
538
538
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
hide
MediaWiki:Hist
8
539
539
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
hist
MediaWiki:Histfirst
8
540
540
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Earliest
MediaWiki:Histlast
8
541
541
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Latest
MediaWiki:Histlegend
8
542
542
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.<br />
Legend: (cur) = difference with current version,
(last) = difference with preceding version, M = minor edit.
MediaWiki:History
8
543
543
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Page history
MediaWiki:History copyright
8
544
544
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
-
MediaWiki:History short
8
545
545
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
History
MediaWiki:Historywarning
8
546
546
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Warning: The page you are about to delete has a history:
MediaWiki:Hr tip
8
547
547
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Horizontal line (use sparingly)
MediaWiki:Ignorewarning
8
548
548
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Ignore warning and save file anyway.
MediaWiki:Illegalfilename
8
549
549
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
The filename "$1" contains characters that are not allowed in page titles. Please rename the file and try uploading it again.
MediaWiki:Ilsubmit
8
550
550
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Search
MediaWiki:Image sample
8
551
551
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Example.jpg
MediaWiki:Image tip
8
552
552
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Embedded image
MediaWiki:Imagelinks
8
553
553
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Links
MediaWiki:Imagelist
8
554
554
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
File list
MediaWiki:Imagelistall
8
555
555
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
all
MediaWiki:Imagelisttext
8
556
556
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Below is a list of $1 files sorted $2.
MediaWiki:Imagemaxsize
8
557
557
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Limit images on image description pages to:
MediaWiki:Imagepage
8
558
558
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
View image page
MediaWiki:Imagereverted
8
559
559
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Revert to earlier version was successful.
MediaWiki:Imgdelete
8
560
560
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
del
MediaWiki:Imgdesc
8
561
561
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
desc
MediaWiki:Imghistlegend
8
562
562
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Legend: (cur) = this is the current file, (del) = delete
this old version, (rev) = revert to this old version.
<br /><i>Click on date to see the file uploaded on that date</i>.
MediaWiki:Imghistory
8
563
563
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
File history
MediaWiki:Imglegend
8
564
564
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Legend: (desc) = show/edit file description.
MediaWiki:Immobile namespace
8
565
565
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Destination title is of a special type; cannot move pages into that namespace.
MediaWiki:Import
8
566
566
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Import pages
MediaWiki:Importfailed
8
567
567
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Import failed: $1
MediaWiki:Importhistoryconflict
8
568
568
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Conflicting history revision exists (may have imported this page before)
MediaWiki:Importinterwiki
8
569
569
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Transwiki import
MediaWiki:Importnosources
8
570
570
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
No transwiki import sources have been defined and direct history uploads are disabled.
MediaWiki:Importnotext
8
571
571
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Empty or no text
MediaWiki:Importsuccess
8
572
572
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Import succeeded!
MediaWiki:Importtext
8
573
573
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.
MediaWiki:Infiniteblock
8
574
574
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
infinite
MediaWiki:Info short
8
575
575
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Information
MediaWiki:Infobox
8
576
576
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Click a button to get an example text
MediaWiki:Infobox alert
8
577
577
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Please enter the text you want to be formatted.\n It will be shown in the infobox for copy and pasting.\nExample:\n$1\nwill become:\n$2
MediaWiki:Infosubtitle
8
578
578
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Information for page
MediaWiki:Internalerror
8
579
579
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Internal error
MediaWiki:Intl
8
580
580
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Interlanguage links
MediaWiki:Invalidemailaddress
8
581
581
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
The email address cannot be accepted as it appears to have an invalid
format. Please enter a well-formatted address or empty that field.
MediaWiki:Invert
8
582
582
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Invert selection
MediaWiki:Ip range invalid
8
583
583
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Invalid IP range.
MediaWiki:Ipaddress
8
584
584
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
IP Address
MediaWiki:Ipadressorusername
8
585
585
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
IP Address or username
MediaWiki:Ipb expiry invalid
8
586
586
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Expiry time invalid.
MediaWiki:Ipbexpiry
8
587
587
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Expiry
MediaWiki:Ipblocklist
8
588
588
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
List of blocked IP addresses and usernames
MediaWiki:Ipblocklistempty
8
589
589
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
The blocklist is empty.
MediaWiki:Ipboptions
8
590
590
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
2 hours:2 hours,1 day:1 day,3 days:3 days,1 week:1 week,2 weeks:2 weeks,1 month:1 month,3 months:3 months,6 months:6 months,1 year:1 year,infinite:infinite
MediaWiki:Ipbother
8
591
591
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Other time
MediaWiki:Ipbotheroption
8
592
592
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
other
MediaWiki:Ipbreason
8
593
593
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Reason
MediaWiki:Ipbsubmit
8
594
594
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Block this user
MediaWiki:Ipusubmit
8
595
595
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Unblock this address
MediaWiki:Ipusuccess
8
596
596
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
"[[$1]]" unblocked
MediaWiki:Isbn
8
597
597
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
ISBN
MediaWiki:Isredirect
8
598
598
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
redirect page
MediaWiki:Italic sample
8
599
599
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Italic text
MediaWiki:Italic tip
8
600
600
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Italic text
MediaWiki:Iteminvalidname
8
601
601
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Problem with item '$1', invalid name...
MediaWiki:Jan
8
602
602
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
Jan
MediaWiki:January
8
603
603
2005-09-19T20:27:55Z
MediaWiki default
0
wikitext
text/x-wiki
January
MediaWiki:Jul
8
604
604
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Jul
MediaWiki:July
8
605
605
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
July
MediaWiki:Jun
8
606
606
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Jun
MediaWiki:June
8
607
607
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
June
MediaWiki:Laggedslavemode
8
608
608
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Warning: Page may not contain recent updates.
MediaWiki:Largefile
8
609
609
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
It is recommended that images not exceed $1 bytes in size, this file is $2 bytes
MediaWiki:Last
8
610
610
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
last
MediaWiki:Lastmodified
8
611
611
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
This page was last modified $1.
MediaWiki:Lastmodifiedby
8
612
612
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
This page was last modified $1 by $2.
MediaWiki:Lineno
8
613
613
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Line $1:
MediaWiki:Link sample
8
614
614
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Link title
MediaWiki:Link tip
8
615
615
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Internal link
MediaWiki:Linklistsub
8
616
616
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
(List of links)
MediaWiki:Linkprefix
8
617
617
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
/^(.*?)([a-zA-Z\x80-\xff]+)$/sD
MediaWiki:Linkshere
8
618
618
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
The following pages link to here:
MediaWiki:Linkstoimage
8
619
619
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
The following pages link to this file:
MediaWiki:Linktrail
8
620
620
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
/^([a-z]+)(.*)$/sD
MediaWiki:Listform
8
621
621
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
list
MediaWiki:Listingcontinuesabbrev
8
622
622
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
cont.
MediaWiki:Listusers
8
623
623
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
User list
MediaWiki:Loadhist
8
624
624
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Loading page history
MediaWiki:Loadingrev
8
625
625
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
loading revision for diff
MediaWiki:Localtime
8
626
626
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Local time
MediaWiki:Lockbtn
8
627
627
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Lock database
MediaWiki:Lockconfirm
8
628
628
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Yes, I really want to lock the database.
MediaWiki:Lockdb
8
629
629
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Lock database
MediaWiki:Lockdbsuccesssub
8
630
630
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Database lock succeeded
MediaWiki:Lockdbsuccesstext
8
631
631
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
The database has been locked.
<br />Remember to remove the lock after your maintenance is complete.
MediaWiki:Lockdbtext
8
632
632
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Locking the database will suspend the ability of all
users to edit pages, change their preferences, edit their watchlists, and
other things requiring changes in the database.
Please confirm that this is what you intend to do, and that you will
unlock the database when your maintenance is done.
MediaWiki:Locknoconfirm
8
633
633
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
You did not check the confirmation box.
MediaWiki:Log
8
634
634
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Logs
MediaWiki:Login
8
635
635
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Log in
MediaWiki:Loginend
8
636
636
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
MediaWiki:Loginerror
8
637
637
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Login error
MediaWiki:Loginpagetitle
8
638
638
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
User login
MediaWiki:Loginproblem
8
639
639
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
<b>There has been a problem with your login.</b><br />Try again!
MediaWiki:Loginprompt
8
640
640
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
You must have cookies enabled to log in to {{SITENAME}}.
MediaWiki:Loginreqtext
8
641
641
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
You must [[special:Userlogin|login]] to view other pages.
MediaWiki:Loginreqtitle
8
642
642
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Login Required
MediaWiki:Loginsuccess
8
643
643
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
You are now logged in to {{SITENAME}} as "$1".
MediaWiki:Loginsuccesstitle
8
644
644
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Login successful
MediaWiki:Logout
8
645
645
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Log out
MediaWiki:Logouttext
8
646
646
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
You are now logged out.<br />
You can continue to use {{SITENAME}} anonymously, or you can log in
again as the same or as a different user. Note that some pages may
continue to be displayed as if you were still logged in, until you clear
your browser cache.
MediaWiki:Logouttitle
8
647
647
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
User logout
MediaWiki:Lonelypages
8
648
648
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Orphaned pages
MediaWiki:Longpages
8
649
649
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Long pages
MediaWiki:Longpagewarning
8
650
650
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>WARNING: This page is $1 kilobytes long; some
browsers may have problems editing pages approaching or longer than 32kb.
Please consider breaking the page into smaller sections.</strong>
MediaWiki:Mailerror
8
651
651
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Error sending mail: $1
MediaWiki:Mailmypassword
8
652
652
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Mail me a new password
MediaWiki:Mailnologin
8
653
653
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
No send address
MediaWiki:Mailnologintext
8
654
654
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
You must be [[Special:Userlogin|logged in]]
and have a valid e-mail address in your [[Special:Preferences|preferences]]
to send e-mail to other users.
MediaWiki:Mainpage
8
655
655
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Main Page
MediaWiki:Mainpagedocfooter
8
656
656
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.
MediaWiki:Mainpagetext
8
657
657
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Wiki software successfully installed.
MediaWiki:Maintenance
8
658
658
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Maintenance page
MediaWiki:Maintenancebacklink
8
659
659
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Back to Maintenance Page
MediaWiki:Maintnancepagetext
8
660
660
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
This page includes several handy tools for everyday maintenance. Some of these functions tend to stress the database, so please do not hit reload after every item you fixed ;-)
MediaWiki:Makesysop
8
661
661
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Make a user into a sysop
MediaWiki:Makesysopfail
8
662
662
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
<b>User "$1" could not be made into a sysop. (Did you enter the name correctly?)</b>
MediaWiki:Makesysopname
8
663
663
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Name of the user:
MediaWiki:Makesysopok
8
664
664
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
<b>User "$1" is now a sysop</b>
MediaWiki:Makesysopsubmit
8
665
665
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Make this user into a sysop
MediaWiki:Makesysoptext
8
666
666
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
This form is used by bureaucrats to turn ordinary users into administrators.
Type the name of the user in the box and press the button to make the user an administrator
MediaWiki:Makesysoptitle
8
667
667
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Make a user into a sysop
MediaWiki:Mar
8
668
668
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Mar
MediaWiki:March
8
669
669
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
March
MediaWiki:Markaspatrolleddiff
8
670
670
2005-09-19T20:27:56Z
MediaWiki default
0
wikitext
text/x-wiki
Mark as patrolled
MediaWiki:Markaspatrolledlink
8
671
671
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
[$1]
MediaWiki:Markaspatrolledtext
8
672
672
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Mark this article as patrolled
MediaWiki:Markedaspatrolled
8
673
673
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Marked as patrolled
MediaWiki:Markedaspatrolledtext
8
674
674
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
The selected revision has been marked as patrolled.
MediaWiki:Matchtotals
8
675
675
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
The query "$1" matched $2 page titles
and the text of $3 pages.
MediaWiki:Math
8
676
676
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Math
MediaWiki:Math bad output
8
677
677
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Can't write to or create math output directory
MediaWiki:Math bad tmpdir
8
678
678
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Can't write to or create math temp directory
MediaWiki:Math failure
8
679
679
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Failed to parse
MediaWiki:Math image error
8
680
680
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
PNG conversion failed; check for correct installation of latex, dvips, gs, and convert
MediaWiki:Math lexing error
8
681
681
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
lexing error
MediaWiki:Math notexvc
8
682
682
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Missing texvc executable; please see math/README to configure.
MediaWiki:Math sample
8
683
683
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Insert formula here
MediaWiki:Math syntax error
8
684
684
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
syntax error
MediaWiki:Math tip
8
685
685
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Mathematical formula (LaTeX)
MediaWiki:Math unknown error
8
686
686
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
unknown error
MediaWiki:Math unknown function
8
687
687
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
unknown function
MediaWiki:May
8
688
688
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
May
MediaWiki:May long
8
689
689
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
May
MediaWiki:Media sample
8
690
690
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Example.ogg
MediaWiki:Media tip
8
691
691
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Media file link
MediaWiki:Mediawarning
8
692
692
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
'''Warning''': This file may contain malicious code, by executing it your system may be compromised.
<hr>
MediaWiki:Metadata
8
693
693
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Metadata
MediaWiki:Metadata page
8
694
694
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Wikipedia:Metadata
MediaWiki:Minlength
8
695
695
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
File names must be at least three letters.
MediaWiki:Minoredit
8
696
696
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
This is a minor edit
MediaWiki:Minoreditletter
8
697
697
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
m
MediaWiki:Mispeelings
8
698
698
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Pages with misspellings
MediaWiki:Mispeelingspage
8
699
699
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
List of common misspellings
MediaWiki:Mispeelingstext
8
700
700
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).
MediaWiki:Missingarticle
8
701
701
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
The database did not find the text of a page
that it should have found, named "$1".
This is usually caused by following an outdated diff or history link to a
page that has been deleted.
If this is not the case, you may have found a bug in the software.
Please report this to an administrator, making note of the URL.
MediaWiki:Missingimage
8
702
702
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
<b>Missing image</b><br /><i>$1</i>
MediaWiki:Missinglanguagelinks
8
703
703
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Missing Language Links
MediaWiki:Missinglanguagelinksbutton
8
704
704
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Find missing language links for
MediaWiki:Missinglanguagelinkstext
8
705
705
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
These pages do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.
MediaWiki:Monday
8
706
706
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Monday
MediaWiki:Moredotdotdot
8
707
707
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
More...
MediaWiki:Mostlinked
8
708
708
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Most linked to pages
MediaWiki:Move
8
709
709
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Move
MediaWiki:Movearticle
8
710
710
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Move page
MediaWiki:Movedto
8
711
711
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
moved to
MediaWiki:Movelogpage
8
712
712
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Move log
MediaWiki:Movelogpagetext
8
713
713
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Below is a list of page moved.
MediaWiki:Movenologin
8
714
714
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Not logged in
MediaWiki:Movenologintext
8
715
715
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
You must be a registered user and [[Special:Userlogin|logged in]]
to move a page.
MediaWiki:Movepage
8
716
716
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Move page
MediaWiki:Movepagebtn
8
717
717
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Move page
MediaWiki:Movepagetalktext
8
718
718
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
The associated talk page, if any, will be automatically moved along with it '''unless:'''
*You are moving the page across namespaces,
*A non-empty talk page already exists under the new name, or
*You uncheck the box below.
In those cases, you will have to move or merge the page manually if desired.
MediaWiki:Movepagetext
8
719
719
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Using the form below will rename a page, moving all
of its history to the new name.
The old title will become a redirect page to the new title.
Links to the old page title will not be changed; be sure to
check for double or broken redirects.
You are responsible for making sure that links continue to
point where they are supposed to go.
Note that the page will '''not''' be moved if there is already
a page at the new title, unless it is empty or a redirect and has no
past edit history. This means that you can rename a page back to where
it was just renamed from if you make a mistake, and you cannot overwrite
an existing page.
<b>WARNING!</b>
This can be a drastic and unexpected change for a popular page;
please be sure you understand the consequences of this before
proceeding.
MediaWiki:Movereason
8
720
720
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Reason
MediaWiki:Movetalk
8
721
721
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Move "talk" page as well, if applicable.
MediaWiki:Movethispage
8
722
722
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Move this page
MediaWiki:Mw math html
8
723
723
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
HTML if possible or else PNG
MediaWiki:Mw math mathml
8
724
724
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
MathML if possible (experimental)
MediaWiki:Mw math modern
8
725
725
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Recommended for modern browsers
MediaWiki:Mw math png
8
726
726
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Always render PNG
MediaWiki:Mw math simple
8
727
727
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
HTML if very simple or else PNG
MediaWiki:Mw math source
8
728
728
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Leave it as TeX (for text browsers)
MediaWiki:Mycontris
8
729
729
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
My contributions
MediaWiki:Mypage
8
730
730
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
My page
MediaWiki:Mytalk
8
731
731
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
My talk
MediaWiki:Namespace
8
732
732
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Namespace:
MediaWiki:Namespacesall
8
733
733
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
all
MediaWiki:Navigation
8
734
734
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Navigation
MediaWiki:Nbytes
8
735
735
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
$1 bytes
MediaWiki:Nchanges
8
736
736
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
$1 changes
MediaWiki:Newarticle
8
737
737
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
(New)
MediaWiki:Newarticletext
8
738
738
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
You've followed a link to a page that doesn't exist yet.
To create the page, start typing in the box below
(see the [[Project:Help|help page]] for more info).
If you are here by mistake, just click your browser's '''back''' button.
MediaWiki:Newbies
8
739
739
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
newbies
MediaWiki:Newimages
8
740
740
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Gallery of new files
MediaWiki:Newmessages
8
741
741
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
You have $1.
MediaWiki:Newmessageslink
8
742
742
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
new messages
MediaWiki:Newpage
8
743
743
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
New page
MediaWiki:Newpageletter
8
744
744
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
N
MediaWiki:Newpages
8
745
745
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
New pages
MediaWiki:Newpassword
8
746
746
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
New password
MediaWiki:Newtitle
8
747
747
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
To new title
MediaWiki:Newusersonly
8
748
748
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
(new users only)
MediaWiki:Newwindow
8
749
749
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
(opens in new window)
MediaWiki:Next
8
750
750
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
next
MediaWiki:Nextdiff
8
751
751
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Next diff →
MediaWiki:Nextn
8
752
752
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
next $1
MediaWiki:Nextpage
8
753
753
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Next page ($1)
MediaWiki:Nextrevision
8
754
754
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Newer revision→
MediaWiki:Nlinks
8
755
755
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
$1 links
MediaWiki:Noarticletext
8
756
756
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
(There is currently no text in this page)
MediaWiki:Noconnect
8
757
757
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. <br />
$1
MediaWiki:Nocontribs
8
758
758
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
No changes were found matching these criteria.
MediaWiki:Nocookieslogin
8
759
759
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.
MediaWiki:Nocookiesnew
8
760
760
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
The user account was created, but you are not logged in. {{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them, then log in with your new username and password.
MediaWiki:Nocreativecommons
8
761
761
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Creative Commons RDF metadata disabled for this server.
MediaWiki:Nocredits
8
762
762
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
There is no credits info available for this page.
MediaWiki:Nodb
8
763
763
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Could not select database $1
MediaWiki:Nodublincore
8
764
764
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
Dublin Core RDF metadata disabled for this server.
MediaWiki:Noemail
8
765
765
2005-09-19T20:27:57Z
MediaWiki default
0
wikitext
text/x-wiki
There is no e-mail address recorded for user "$1".
MediaWiki:Noemailprefs
8
766
766
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>No email address has been specified</strong>, the following
features will not work.
MediaWiki:Noemailtext
8
767
767
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
This user has not specified a valid e-mail address,
or has chosen not to receive e-mail from other users.
MediaWiki:Noemailtitle
8
768
768
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
No e-mail address
MediaWiki:Nogomatch
8
769
769
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
No page with [[$1|this exact title]] exists, trying full text search.
MediaWiki:Nohistory
8
770
770
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
There is no edit history for this page.
MediaWiki:Noimage
8
771
771
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
No file by this name exists, you can [$1 upload it]
MediaWiki:Noimages
8
772
772
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Nothing to see.
MediaWiki:Nolinkshere
8
773
773
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
No pages link to here.
MediaWiki:Nolinkstoimage
8
774
774
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
There are no pages that link to this file.
MediaWiki:Noname
8
775
775
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
You have not specified a valid user name.
MediaWiki:Nonefound
8
776
776
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
'''Note''': unsuccessful searches are
often caused by searching for common words like "have" and "from",
which are not indexed, or by specifying more than one search term (only pages
containing all of the search terms will appear in the result).
MediaWiki:Nonunicodebrowser
8
777
777
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>WARNING: Your browser is not unicode compliant. A workaround is in place to allow you to safely edit articles: non-ASCII characters will appear in the edit box as hexadecimal codes.</strong>
MediaWiki:Nospecialpagetext
8
778
778
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
You have requested an invalid special page, a list of valid special pages may be found at [[{{ns:special}}:Specialpages]].
MediaWiki:Nosuchaction
8
779
779
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
No such action
MediaWiki:Nosuchactiontext
8
780
780
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
The action specified by the URL is not
recognized by the wiki
MediaWiki:Nosuchspecialpage
8
781
781
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
No such special page
MediaWiki:Nosuchuser
8
782
782
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
There is no user by the name "$1".
Check your spelling, or use the form below to create a new user account.
MediaWiki:Nosuchusershort
8
783
783
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
There is no user by the name "$1". Check your spelling.
MediaWiki:Notacceptable
8
784
784
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
The wiki server can't provide data in a format your client can read.
MediaWiki:Notanarticle
8
785
785
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Not a content page
MediaWiki:Notargettext
8
786
786
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
You have not specified a target page or user
to perform this function on.
MediaWiki:Notargettitle
8
787
787
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
No target
MediaWiki:Note
8
788
788
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>Note:</strong>
MediaWiki:Notextmatches
8
789
789
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
No page text matches
MediaWiki:Notitlematches
8
790
790
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
No page title matches
MediaWiki:Notloggedin
8
791
791
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Not logged in
MediaWiki:Nov
8
792
792
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Nov
MediaWiki:November
8
793
793
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
November
MediaWiki:Nowatchlist
8
794
794
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
You have no items on your watchlist.
MediaWiki:Nowiki sample
8
795
795
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Insert non-formatted text here
MediaWiki:Nowiki tip
8
796
796
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Ignore wiki formatting
MediaWiki:Nstab-category
8
797
797
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Category
MediaWiki:Nstab-help
8
798
798
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Help
MediaWiki:Nstab-image
8
799
799
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
File
MediaWiki:Nstab-main
8
800
800
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Article
MediaWiki:Nstab-media
8
801
801
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Media page
MediaWiki:Nstab-mediawiki
8
802
802
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Message
MediaWiki:Nstab-special
8
803
803
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Special
MediaWiki:Nstab-template
8
804
804
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Template
MediaWiki:Nstab-user
8
805
805
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
User page
MediaWiki:Nstab-wp
8
806
806
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Project page
MediaWiki:Numauthors
8
807
807
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Number of distinct authors (article): $1
MediaWiki:Number of watching users RCview
8
808
808
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
[$1]
MediaWiki:Number of watching users pageview
8
809
809
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
[$1 watching user/s]
MediaWiki:Numedits
8
810
810
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Number of edits (article): $1
MediaWiki:Numtalkauthors
8
811
811
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Number of distinct authors (discussion page): $1
MediaWiki:Numtalkedits
8
812
812
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Number of edits (discussion page): $1
MediaWiki:Numwatchers
8
813
813
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Number of watchers: $1
MediaWiki:Nviews
8
814
814
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
$1 views
MediaWiki:Oct
8
815
815
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Oct
MediaWiki:October
8
816
816
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
October
MediaWiki:Ok
8
817
817
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
OK
MediaWiki:Oldpassword
8
818
818
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Old password
MediaWiki:Orig
8
819
819
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
orig
MediaWiki:Orphans
8
820
820
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Orphaned pages
MediaWiki:Othercontribs
8
821
821
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Based on work by $1.
MediaWiki:Otherlanguages
8
822
822
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
In other languages
MediaWiki:Others
8
823
823
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
others
MediaWiki:Pagemovedsub
8
824
824
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Move succeeded
MediaWiki:Pagemovedtext
8
825
825
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Page "[[$1]]" moved to "[[$2]]".
MediaWiki:Pagetitle
8
826
826
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
$1 - {{SITENAME}}
MediaWiki:Passwordremindertext
8
827
827
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Someone (probably you, from IP address $1)
requested that we send you a new {{SITENAME}} login password.
The password for user "$2" is now "$3".
You should log in and change your password now.
MediaWiki:Passwordremindertitle
8
828
828
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Password reminder from {{SITENAME}}
MediaWiki:Passwordsent
8
829
829
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
A new password has been sent to the e-mail address
registered for "$1".
Please log in again after you receive it.
MediaWiki:Passwordtooshort
8
830
830
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Your password is too short. It must have at least $1 characters.
MediaWiki:Perfcached
8
831
831
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
The following data is cached and may not be completely up to date:
MediaWiki:Perfdisabled
8
832
832
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Sorry! This feature has been temporarily disabled
because it slows the database down to the point that no one can use
the wiki.
MediaWiki:Perfdisabledsub
8
833
833
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Here's a saved copy from $1:
MediaWiki:Personaltools
8
834
834
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Personal tools
MediaWiki:Popularpages
8
835
835
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Popular pages
MediaWiki:Portal
8
836
836
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Community portal
MediaWiki:Portal-url
8
837
837
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Project:Community Portal
MediaWiki:Postcomment
8
838
838
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Post a comment
MediaWiki:Poweredby
8
839
839
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.
MediaWiki:Powersearch
8
840
840
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Search
MediaWiki:Powersearchtext
8
841
841
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Search in namespaces :<br />
$1<br />
$2 List redirects Search for $3 $9
MediaWiki:Preferences
8
842
842
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Preferences
MediaWiki:Prefs-help-email
8
843
843
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
* Email (optional): Enables others to contact you through your user or user_talk page without the need of revealing your identity.
MediaWiki:Prefs-help-email-enotif
8
844
844
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
This address is also used to send you email notifications if you enabled the options.
MediaWiki:Prefs-help-realname
8
845
845
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
* Real name (optional): if you choose to provide it this will be used for giving you attribution for your work.
MediaWiki:Prefs-misc
8
846
846
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Misc
MediaWiki:Prefs-personal
8
847
847
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
User data
MediaWiki:Prefs-rc
8
848
848
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Recent changes & stubs
MediaWiki:Prefslogintext
8
849
849
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
You are logged in as "$1".
Your internal ID number is $2.
See [[Project:User preferences help]] for help deciphering the options.
MediaWiki:Prefsnologin
8
850
850
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
Not logged in
MediaWiki:Prefsnologintext
8
851
851
2005-09-19T20:27:58Z
MediaWiki default
0
wikitext
text/x-wiki
You must be [[Special:Userlogin|logged in]] to set user preferences.
MediaWiki:Prefsreset
8
852
852
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Preferences have been reset from storage.
MediaWiki:Preview
8
853
853
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Preview
MediaWiki:Previewconflict
8
854
854
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
This preview reflects the text in the upper
text editing area as it will appear if you choose to save.
MediaWiki:Previewnote
8
855
855
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Remember that this is only a preview, and has not yet been saved!
MediaWiki:Previousdiff
8
856
856
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
← Previous diff
MediaWiki:Previousrevision
8
857
857
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
←Older revision
MediaWiki:Prevn
8
858
858
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
previous $1
MediaWiki:Print
8
859
859
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Print
MediaWiki:Printableversion
8
860
860
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Printable version
MediaWiki:Printsubtitle
8
861
861
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
(From {{SERVER}})
MediaWiki:Protect
8
862
862
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Protect
MediaWiki:Protectcomment
8
863
863
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Reason for protecting
MediaWiki:Protectedarticle
8
864
864
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
protected "[[$1]]"
MediaWiki:Protectedpage
8
865
865
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Protected page
MediaWiki:Protectedpagewarning
8
866
866
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>WARNING: This page has been locked so that only users with sysop privileges can edit it. Be sure you are following the [[Project:Protected_page_guidelines|protected page guidelines]].</strong>
MediaWiki:Protectedtext
8
867
867
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
This page has been locked to prevent editing; there are
a number of reasons why this may be so, please see
[[Project:Protected page]].
You can view and copy the source of this page:
MediaWiki:Protectlogpage
8
868
868
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Protection_log
MediaWiki:Protectlogtext
8
869
869
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Below is a list of page locks/unlocks.
See [[Project:Protected page]] for more information.
MediaWiki:Protectmoveonly
8
870
870
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Protect from moves only
MediaWiki:Protectpage
8
871
871
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Protect page
MediaWiki:Protectsub
8
872
872
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
(Protecting "$1")
MediaWiki:Protectthispage
8
873
873
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Protect this page
MediaWiki:Proxyblocker
8
874
874
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Proxy blocker
MediaWiki:Proxyblockreason
8
875
875
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Your IP address has been blocked because it is an open proxy. Please contact your Internet service provider or tech support and inform them of this serious security problem.
MediaWiki:Proxyblocksuccess
8
876
876
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Done.
MediaWiki:Pubmedurl
8
877
877
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=$1
MediaWiki:Qbbrowse
8
878
878
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Browse
MediaWiki:Qbedit
8
879
879
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Edit
MediaWiki:Qbfind
8
880
880
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Find
MediaWiki:Qbmyoptions
8
881
881
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
My pages
MediaWiki:Qbpageinfo
8
882
882
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Context
MediaWiki:Qbpageoptions
8
883
883
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
This page
MediaWiki:Qbsettings
8
884
884
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Quickbar
MediaWiki:Qbspecialpages
8
885
885
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Special pages
MediaWiki:Randompage
8
886
886
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Random page
MediaWiki:Randompage-url
8
887
887
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Special:Random
MediaWiki:Range block disabled
8
888
888
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
The sysop ability to create range blocks is disabled.
MediaWiki:Rchide
8
889
889
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.
MediaWiki:Rclinks
8
890
890
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Show last $1 changes in last $2 days<br />$3
MediaWiki:Rclistfrom
8
891
891
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Show new changes starting from $1
MediaWiki:Rcliu
8
892
892
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
; $1 edits from logged in users
MediaWiki:Rcloaderr
8
893
893
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Loading recent changes
MediaWiki:Rclsub
8
894
894
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
(to pages linked from "$1")
MediaWiki:Rcnote
8
895
895
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.
MediaWiki:Rcnotefrom
8
896
896
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Below are the changes since <b>$2</b> (up to <b>$1</b> shown).
MediaWiki:Rcpatroldisabled
8
897
897
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Recent Changes Patrol disabled
MediaWiki:Rcpatroldisabledtext
8
898
898
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
The Recent Changes Patrol feature is currently disabled.
MediaWiki:Readonly
8
899
899
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Database locked
MediaWiki:Readonly lag
8
900
900
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
The database has been automatically locked while the slave database servers catch up to the master
MediaWiki:Readonlytext
8
901
901
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
The database is currently locked to new
entries and other modifications, probably for routine database maintenance,
after which it will be back to normal.
The administrator who locked it offered this explanation:
$1
MediaWiki:Readonlywarning
8
902
902
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>WARNING: The database has been locked for maintenance,
so you will not be able to save your edits right now. You may wish to cut-n-paste
the text into a text file and save it for later.</strong>
MediaWiki:Recentchanges
8
903
903
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Recent changes
MediaWiki:Recentchanges-url
8
904
904
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Special:Recentchanges
MediaWiki:Recentchangesall
8
905
905
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
all
MediaWiki:Recentchangescount
8
906
906
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Titles in recent changes
MediaWiki:Recentchangeslinked
8
907
907
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Related changes
MediaWiki:Recentchangestext
8
908
908
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Track the most recent changes to the wiki on this page.
MediaWiki:Redirectedfrom
8
909
909
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
(Redirected from $1)
MediaWiki:Remembermypassword
8
910
910
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Remember me
MediaWiki:Removechecked
8
911
911
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Remove checked items from watchlist
MediaWiki:Removedwatch
8
912
912
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Removed from watchlist
MediaWiki:Removedwatchtext
8
913
913
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
The page "$1" has been removed from your watchlist.
MediaWiki:Removingchecked
8
914
914
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Removing requested items from watchlist...
MediaWiki:Renamegrouplogentry
8
915
915
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Renamed group $2 to $3
MediaWiki:Resetprefs
8
916
916
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Reset
MediaWiki:Restorelink
8
917
917
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
$1 deleted edits
MediaWiki:Restorelink1
8
918
918
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
one deleted edit
MediaWiki:Restrictedpheading
8
919
919
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Restricted special pages
MediaWiki:Resultsperpage
8
920
920
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Hits per page
MediaWiki:Retrievedfrom
8
921
921
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Retrieved from "$1"
MediaWiki:Returnto
8
922
922
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Return to $1.
MediaWiki:Retypenew
8
923
923
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Retype new password
MediaWiki:Reupload
8
924
924
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Re-upload
MediaWiki:Reuploaddesc
8
925
925
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Return to the upload form.
MediaWiki:Reverted
8
926
926
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Reverted to earlier revision
MediaWiki:Revertimg
8
927
927
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
rev
MediaWiki:Revertmove
8
928
928
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
revert
MediaWiki:Revertpage
8
929
929
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Reverted edit of $2, changed back to last version by $1
MediaWiki:Revhistory
8
930
930
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Revision history
MediaWiki:Revisionasof
8
931
931
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Revision as of $1
MediaWiki:Revisionasofwithlink
8
932
932
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Revision as of $1; $2<br />$3 | $4
MediaWiki:Revnotfound
8
933
933
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Revision not found
MediaWiki:Revnotfoundtext
8
934
934
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
The old revision of the page you asked for could not be found.
Please check the URL you used to access this page.
MediaWiki:Rfcurl
8
935
935
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
http://www.ietf.org/rfc/rfc$1.txt
MediaWiki:Rights
8
936
936
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Rights:
MediaWiki:Rightslogtext
8
937
937
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
This is a log of changes to user rights.
MediaWiki:Rollback
8
938
938
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Roll back edits
MediaWiki:Rollback short
8
939
939
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Rollback
MediaWiki:Rollbackfailed
8
940
940
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Rollback failed
MediaWiki:Rollbacklink
8
941
941
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
rollback
MediaWiki:Rows
8
942
942
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Rows
MediaWiki:Saturday
8
943
943
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Saturday
MediaWiki:Savearticle
8
944
944
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Save page
MediaWiki:Savedprefs
8
945
945
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Your preferences have been saved.
MediaWiki:Savefile
8
946
946
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Save file
MediaWiki:Savegroup
8
947
947
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Save Group
MediaWiki:Saveprefs
8
948
948
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Save
MediaWiki:Saveusergroups
8
949
949
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Save User Groups
MediaWiki:Scarytranscludedisabled
8
950
950
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
[Interwiki transcluding is disabled]
MediaWiki:Scarytranscludefailed
8
951
951
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
[Template fetch failed for $1; sorry]
MediaWiki:Scarytranscludetoolong
8
952
952
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
[URL is too long; sorry]
MediaWiki:Search
8
953
953
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Search
MediaWiki:Searchdisabled
8
954
954
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} search is disabled. You can search via Google in the meantime. Note that their indexes of {{SITENAME}} content may be out of date.
MediaWiki:Searchfulltext
8
955
955
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Search full text
MediaWiki:Searchquery
8
956
956
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
For query "$1"
MediaWiki:Searchresults
8
957
957
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Search results
MediaWiki:Searchresultshead
8
958
958
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
Search
MediaWiki:Searchresulttext
8
959
959
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].
MediaWiki:Sectionlink
8
960
960
2005-09-19T20:27:59Z
MediaWiki default
0
wikitext
text/x-wiki
→
MediaWiki:Selectnewerversionfordiff
8
961
961
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Select a newer version for comparison
MediaWiki:Selectolderversionfordiff
8
962
962
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Select an older version for comparison
MediaWiki:Selflinks
8
963
963
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Pages with Self Links
MediaWiki:Selflinkstext
8
964
964
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
The following pages contain a link to themselves, which they should not.
MediaWiki:Selfmove
8
965
965
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Source and destination titles are the same; can't move a page over itself.
MediaWiki:Sep
8
966
966
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Sep
MediaWiki:September
8
967
967
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
September
MediaWiki:Servertime
8
968
968
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Server time
MediaWiki:Sessionfailure
8
969
969
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
There seems to be a problem with your login session;
this action has been canceled as a precaution against session hijacking.
Please hit "back" and reload the page you came from, then try again.
MediaWiki:Set rights fail
8
970
970
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
<b>User rights for "$1" could not be set. (Did you enter the name correctly?)</b>
MediaWiki:Set user rights
8
971
971
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Set user rights
MediaWiki:Setbureaucratflag
8
972
972
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Set bureaucrat flag
MediaWiki:Setstewardflag
8
973
973
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Set steward flag
MediaWiki:Shareddescriptionfollows
8
974
974
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
-
MediaWiki:Sharedupload
8
975
975
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
This file is a shared upload and may be used by other projects.
MediaWiki:Shareduploadwiki
8
976
976
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Please see the [$1 file description page] for further information.
MediaWiki:Shortpages
8
977
977
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Short pages
MediaWiki:Show
8
978
978
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
show
MediaWiki:Showbigimage
8
979
979
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Download high resolution version ($1x$2, $3 KB)
MediaWiki:Showdiff
8
980
980
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Show changes
MediaWiki:Showhideminor
8
981
981
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
$1 minor edits | $2 bots | $3 logged in users | $4 patrolled edits
MediaWiki:Showingresults
8
982
982
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Showing below up to <b>$1</b> results starting with #<b>$2</b>.
MediaWiki:Showingresultsnum
8
983
983
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Showing below <b>$3</b> results starting with #<b>$2</b>.
MediaWiki:Showlast
8
984
984
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Show last $1 files sorted $2.
MediaWiki:Showpreview
8
985
985
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Show preview
MediaWiki:Showtoc
8
986
986
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
show
MediaWiki:Sidebar
8
987
987
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
* navigation
** mainpage|mainpage
** portal-url|portal
** currentevents-url|currentevents
** recentchanges-url|recentchanges
** randompage-url|randompage
** helppage|help
** sitesupport-url|sitesupport
MediaWiki:Sig tip
8
988
988
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Your signature with timestamp
MediaWiki:Sitenotice
8
989
989
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
-
MediaWiki:Sitestats
8
990
990
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} statistics
MediaWiki:Sitestatstext
8
991
991
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
There are '''$1''' total pages in the database.
This includes "talk" pages, pages about {{SITENAME}}, minimal "stub"
pages, redirects, and others that probably don't qualify as content pages.
Excluding those, there are '''$2''' pages that are probably legitimate
content pages.
There have been a total of '''$3''' page views, and '''$4''' page edits
since the wiki was setup.
That comes to '''$5''' average edits per page, and '''$6''' views per edit.
MediaWiki:Sitesubtitle
8
992
992
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
The Free Encyclopedia
MediaWiki:Sitesupport
8
993
993
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Donations
MediaWiki:Sitesupport-url
8
994
994
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Project:Site support
MediaWiki:Sitetitle
8
995
995
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}}
MediaWiki:Siteuser
8
996
996
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} user $1
MediaWiki:Siteusers
8
997
997
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
{{SITENAME}} user(s) $1
MediaWiki:Skin
8
998
998
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Skin
MediaWiki:Skinpreview
8
999
999
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
(Preview)
MediaWiki:Sorbs
8
1000
1000
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
SORBS DNSBL
MediaWiki:Sorbs create account reason
8
1001
1001
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Your IP address is listed as an open proxy in the [http://www.sorbs.net SORBS] DNSBL. You cannot create an account
MediaWiki:Sorbsreason
8
1002
1002
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Your IP address is listed as an open proxy in the [http://www.sorbs.net SORBS] DNSBL.
MediaWiki:Sourcefilename
8
1003
1003
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Source filename
MediaWiki:Spamprotectionmatch
8
1004
1004
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
The following text is what triggered our spam filter: $1
MediaWiki:Spamprotectiontext
8
1005
1005
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
The page you wanted to save was blocked by the spam filter. This is probably caused by a link to an external site.
MediaWiki:Spamprotectiontitle
8
1006
1006
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Spam protection filter
MediaWiki:Speciallogtitlelabel
8
1007
1007
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Title:
MediaWiki:Specialloguserlabel
8
1008
1008
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
User:
MediaWiki:Specialpage
8
1009
1009
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Special Page
MediaWiki:Specialpages
8
1010
1010
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Special pages
MediaWiki:Spheading
8
1011
1011
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Special pages for all users
MediaWiki:Sqlhidden
8
1012
1012
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
(SQL query hidden)
MediaWiki:Statistics
8
1013
1013
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Statistics
MediaWiki:Storedversion
8
1014
1014
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Stored version
MediaWiki:Stubthreshold
8
1015
1015
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Threshold for stub display
MediaWiki:Subcategories
8
1016
1016
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Subcategories
MediaWiki:Subcategorycount
8
1017
1017
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
There are $1 subcategories to this category.
MediaWiki:Subcategorycount1
8
1018
1018
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
There is $1 subcategory to this category.
MediaWiki:Subject
8
1019
1019
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Subject/headline
MediaWiki:Subjectpage
8
1020
1020
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
View subject
MediaWiki:Successfulupload
8
1021
1021
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Successful upload
MediaWiki:Summary
8
1022
1022
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Summary
MediaWiki:Sunday
8
1023
1023
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Sunday
MediaWiki:Sysoptext
8
1024
1024
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
The action you have requested can only be
performed by users with "sysop" capability.
See $1.
MediaWiki:Sysoptitle
8
1025
1025
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Sysop access required
MediaWiki:Tableform
8
1026
1026
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
table
MediaWiki:Tagline
8
1027
1027
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
From {{SITENAME}}
MediaWiki:Talk
8
1028
1028
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Discussion
MediaWiki:Talkexists
8
1029
1029
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
'''The page itself was moved successfully, but the
talk page could not be moved because one already exists at the new
title. Please merge them manually.'''
MediaWiki:Talkpage
8
1030
1030
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Discuss this page
MediaWiki:Talkpagemoved
8
1031
1031
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
The corresponding talk page was also moved.
MediaWiki:Talkpagenotmoved
8
1032
1032
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
The corresponding talk page was <strong>not</strong> moved.
MediaWiki:Talkpagetext
8
1033
1033
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
<!-- MediaWiki:talkpagetext -->
MediaWiki:Templatesused
8
1034
1034
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Templates used on this page:
MediaWiki:Textboxsize
8
1035
1035
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Editing
MediaWiki:Textmatches
8
1036
1036
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Page text matches
MediaWiki:Thisisdeleted
8
1037
1037
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
View or restore $1?
MediaWiki:Thumbnail-more
8
1038
1038
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Enlarge
MediaWiki:Thumbsize
8
1039
1039
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Thumbnail size:
MediaWiki:Thursday
8
1040
1040
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Thursday
MediaWiki:Timezonelegend
8
1041
1041
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Time zone
MediaWiki:Timezoneoffset
8
1042
1042
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Offset¹
MediaWiki:Timezonetext
8
1043
1043
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
The number of hours your local time differs from server time (UTC).
MediaWiki:Titlematches
8
1044
1044
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Article title matches
MediaWiki:Toc
8
1045
1045
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Contents
MediaWiki:Tog-editondblclick
8
1046
1046
2005-09-19T20:28:00Z
MediaWiki default
0
wikitext
text/x-wiki
Edit pages on double click (JavaScript)
MediaWiki:Tog-editsection
8
1047
1047
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Enable section editing via [edit] links
MediaWiki:Tog-editsectiononrightclick
8
1048
1048
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Enable section editing by right clicking<br /> on section titles (JavaScript)
MediaWiki:Tog-editwidth
8
1049
1049
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Edit box has full width
MediaWiki:Tog-enotifminoredits
8
1050
1050
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Send me an email also for minor edits of pages
MediaWiki:Tog-enotifrevealaddr
8
1051
1051
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Reveal my email address in notification mails
MediaWiki:Tog-enotifusertalkpages
8
1052
1052
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Send me an email when my user talk page is changed
MediaWiki:Tog-enotifwatchlistpages
8
1053
1053
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Send me an email on page changes
MediaWiki:Tog-externaldiff
8
1054
1054
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Use external diff by default
MediaWiki:Tog-externaleditor
8
1055
1055
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Use external editor by default
MediaWiki:Tog-fancysig
8
1056
1056
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Raw signatures (without automatic link)
MediaWiki:Tog-hideminor
8
1057
1057
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Hide minor edits in recent changes
MediaWiki:Tog-highlightbroken
8
1058
1058
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Format broken links <a href="" class="new">like this</a> (alternative: like this<a href="" class="internal">?</a>).
MediaWiki:Tog-justify
8
1059
1059
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Justify paragraphs
MediaWiki:Tog-minordefault
8
1060
1060
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Mark all edits minor by default
MediaWiki:Tog-nocache
8
1061
1061
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Disable page caching
MediaWiki:Tog-numberheadings
8
1062
1062
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Auto-number headings
MediaWiki:Tog-previewonfirst
8
1063
1063
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Show preview on first edit
MediaWiki:Tog-previewontop
8
1064
1064
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Show preview before edit box
MediaWiki:Tog-rememberpassword
8
1065
1065
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Remember across sessions
MediaWiki:Tog-shownumberswatching
8
1066
1066
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Show the number of watching users
MediaWiki:Tog-showtoc
8
1067
1067
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Show table of contents (for pages with more than 3 headings)
MediaWiki:Tog-showtoolbar
8
1068
1068
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Show edit toolbar (JavaScript)
MediaWiki:Tog-underline
8
1069
1069
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Underline links
MediaWiki:Tog-usenewrc
8
1070
1070
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Enhanced recent changes (JavaScript)
MediaWiki:Tog-watchdefault
8
1071
1071
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Add pages you edit to your watchlist
MediaWiki:Toolbox
8
1072
1072
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Toolbox
MediaWiki:Tooltip-compareselectedversions
8
1073
1073
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
See the differences between the two selected versions of this page. [alt-v]
MediaWiki:Tooltip-diff
8
1074
1074
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Show which changes you made to the text. [alt-d]
MediaWiki:Tooltip-minoredit
8
1075
1075
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Mark this as a minor edit [alt-i]
MediaWiki:Tooltip-preview
8
1076
1076
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Preview your changes, please use this before saving! [alt-p]
MediaWiki:Tooltip-save
8
1077
1077
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Save your changes [alt-s]
MediaWiki:Tooltip-search
8
1078
1078
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Search {{SITENAME}} [alt-f]
MediaWiki:Tooltip-watch
8
1079
1079
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Add this page to your watchlist [alt-w]
MediaWiki:Trackback
8
1080
1080
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
; $4$5 : [$2 $1]
MediaWiki:Trackbackbox
8
1081
1081
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
<div id='mw_trackbacks'>
Trackbacks for this article:<br />
$1
</div>
MediaWiki:Trackbackdeleteok
8
1082
1082
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
The trackback was successfully deleted.
MediaWiki:Trackbackexcerpt
8
1083
1083
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
; $4$5 : [$2 $1]: <nowiki>$3</nowiki>
MediaWiki:Trackbacklink
8
1084
1084
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Trackback
MediaWiki:Trackbackremove
8
1085
1085
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
([$1 Delete])
MediaWiki:Tryexact
8
1086
1086
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Try exact match
MediaWiki:Tuesday
8
1087
1087
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Tuesday
MediaWiki:Uclinks
8
1088
1088
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
View the last $1 changes; view the last $2 days.
MediaWiki:Ucnote
8
1089
1089
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.
MediaWiki:Uctop
8
1090
1090
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
(top)
MediaWiki:Unblockip
8
1091
1091
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Unblock user
MediaWiki:Unblockiptext
8
1092
1092
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Use the form below to restore write access
to a previously blocked IP address or username.
MediaWiki:Unblocklink
8
1093
1093
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
unblock
MediaWiki:Unblocklogentry
8
1094
1094
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
unblocked $1
MediaWiki:Uncategorizedcategories
8
1095
1095
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Uncategorized categories
MediaWiki:Uncategorizedpages
8
1096
1096
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Uncategorized pages
MediaWiki:Undelete
8
1097
1097
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Restore deleted page
MediaWiki:Undelete short
8
1098
1098
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Undelete $1 edits
MediaWiki:Undelete short1
8
1099
1099
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Undelete one edit
MediaWiki:Undeletearticle
8
1100
1100
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Restore deleted page
MediaWiki:Undeletebtn
8
1101
1101
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Restore!
MediaWiki:Undeletedarticle
8
1102
1102
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
restored "[[$1]]"
MediaWiki:Undeletedrevisions
8
1103
1103
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
$1 revisions restored
MediaWiki:Undeletedtext
8
1104
1104
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
[[$1]] has been successfully restored.
See [[Special:Log/delete]] for a record of recent deletions and restorations.
MediaWiki:Undeletehistory
8
1105
1105
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
If you restore the page, all revisions will be restored to the history.
If a new page with the same name has been created since the deletion, the restored
revisions will appear in the prior history, and the current revision of the live page
will not be automatically replaced.
MediaWiki:Undeletepage
8
1106
1106
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
View and restore deleted pages
MediaWiki:Undeletepagetext
8
1107
1107
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
The following pages have been deleted but are still in the archive and
can be restored. The archive may be periodically cleaned out.
MediaWiki:Undeleterevision
8
1108
1108
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Deleted revision as of $1
MediaWiki:Undeleterevisions
8
1109
1109
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
$1 revisions archived
MediaWiki:Underline-always
8
1110
1110
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Always
MediaWiki:Underline-default
8
1111
1111
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Browser default
MediaWiki:Underline-never
8
1112
1112
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Never
MediaWiki:Unexpected
8
1113
1113
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Unexpected value: "$1"="$2".
MediaWiki:Unit-pixel
8
1114
1114
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
px
MediaWiki:Unlockbtn
8
1115
1115
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Unlock database
MediaWiki:Unlockconfirm
8
1116
1116
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Yes, I really want to unlock the database.
MediaWiki:Unlockdb
8
1117
1117
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Unlock database
MediaWiki:Unlockdbsuccesssub
8
1118
1118
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Database lock removed
MediaWiki:Unlockdbsuccesstext
8
1119
1119
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
The database has been unlocked.
MediaWiki:Unlockdbtext
8
1120
1120
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Unlocking the database will restore the ability of all
users to edit pages, change their preferences, edit their watchlists, and
other things requiring changes in the database.
Please confirm that this is what you intend to do.
MediaWiki:Unprotect
8
1121
1121
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
unprotect
MediaWiki:Unprotectcomment
8
1122
1122
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Reason for unprotecting
MediaWiki:Unprotectedarticle
8
1123
1123
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
unprotected "[[$1]]"
MediaWiki:Unprotectsub
8
1124
1124
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
(Unprotecting "$1")
MediaWiki:Unprotectthispage
8
1125
1125
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Unprotect this page
MediaWiki:Unusedcategories
8
1126
1126
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Unused categories
MediaWiki:Unusedcategoriestext
8
1127
1127
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
The following category pages exist although no other article or category make use of them.
MediaWiki:Unusedimages
8
1128
1128
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Unused files
MediaWiki:Unusedimagestext
8
1129
1129
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
<p>Please note that other web sites may link to an image with
a direct URL, and so may still be listed here despite being
in active use.</p>
MediaWiki:Unwatch
8
1130
1130
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Unwatch
MediaWiki:Unwatchthispage
8
1131
1131
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Stop watching
MediaWiki:Updated
8
1132
1132
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
(Updated)
MediaWiki:Upload
8
1133
1133
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Upload file
MediaWiki:Upload directory read only
8
1134
1134
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
The upload directory ($1) is not writable by the webserver.
MediaWiki:Uploadbtn
8
1135
1135
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
Upload file
MediaWiki:Uploadcorrupt
8
1136
1136
2005-09-19T20:28:01Z
MediaWiki default
0
wikitext
text/x-wiki
The file is corrupt or has an incorrect extension. Please check the file and upload again.
MediaWiki:Uploaddisabled
8
1137
1137
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Sorry, uploading is disabled.
MediaWiki:Uploadedfiles
8
1138
1138
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Uploaded files
MediaWiki:Uploadedimage
8
1139
1139
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
uploaded "[[$1]]"
MediaWiki:Uploaderror
8
1140
1140
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Upload error
MediaWiki:Uploadlink
8
1141
1141
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Upload images
MediaWiki:Uploadlog
8
1142
1142
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
upload log
MediaWiki:Uploadlogpage
8
1143
1143
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Upload_log
MediaWiki:Uploadlogpagetext
8
1144
1144
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Below is a list of the most recent file uploads.
MediaWiki:Uploadnewversion
8
1145
1145
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
[$1 Upload a new version of this file]
MediaWiki:Uploadnologin
8
1146
1146
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Not logged in
MediaWiki:Uploadnologintext
8
1147
1147
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
You must be [[Special:Userlogin|logged in]]
to upload files.
MediaWiki:Uploadscripted
8
1148
1148
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
This file contains HTML or script code that my be erroneously be interpreted by a web browser.
MediaWiki:Uploadtext
8
1149
1149
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Use the form below to upload new files,
to view or search previously uploaded images
go to the [[Special:Imagelist|list of uploaded files]],
uploads and deletions are also logged in the [[Special:Log|project log]].
You must also check the box affirming that you are not
violating any copyrights by uploading the file.
Press the "Upload" button to finish the upload.
To include the image in a page, use a link in the form
'''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>''',
'''<nowiki>[[{{ns:6}}:file.png|alt text]]</nowiki>''' or
'''<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>''' for directly linking to the file.
MediaWiki:Uploadvirus
8
1150
1150
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
The file contains a virus! Details: $1
MediaWiki:Uploadwarning
8
1151
1151
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Upload warning
MediaWiki:Usenewcategorypage
8
1152
1152
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
1
Set first character to "0" to disable the new category page layout.
MediaWiki:User rights set
8
1153
1153
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
<b>User rights for "$1" updated</b>
MediaWiki:Usercssjsyoucanpreview
8
1154
1154
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>Tip:</strong> Use the 'Show preview' button to test your new CSS/JS before saving.
MediaWiki:Usercsspreview
8
1155
1155
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
'''Remember that you are only previewing your user CSS, it has not yet been saved!'''
MediaWiki:Userexists
8
1156
1156
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
The user name you entered is already in use. Please choose a different name.
MediaWiki:Userjspreview
8
1157
1157
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
'''Remember that you are only testing/previewing your user JavaScript, it has not yet been saved!'''
MediaWiki:Userlogin
8
1158
1158
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Create an account or log in
MediaWiki:Userlogout
8
1159
1159
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Log out
MediaWiki:Usermailererror
8
1160
1160
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Mail object returned error:
MediaWiki:Userpage
8
1161
1161
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
View user page
MediaWiki:Userrights
8
1162
1162
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
User rights management
MediaWiki:Userrights-editusergroup
8
1163
1163
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Edit user groups
MediaWiki:Userrights-groupsavailable
8
1164
1164
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Available groups:
MediaWiki:Userrights-groupshelp
8
1165
1165
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Select groups you want the user to be removed from or added to.
Unselected groups will not be changed. You can deselect a group with CTRL + Left Click
MediaWiki:Userrights-groupsmember
8
1166
1166
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Member of:
MediaWiki:Userrights-logcomment
8
1167
1167
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Changed group membership from $1 to $2
MediaWiki:Userrights-lookup-user
8
1168
1168
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Manage user groups
MediaWiki:Userrights-user-editname
8
1169
1169
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Enter a username:
MediaWiki:Userstats
8
1170
1170
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
User statistics
MediaWiki:Userstatstext
8
1171
1171
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
There are '''$1''' registered users, of which
'''$2''' (or '''$4%''') are administrators (see $3).
MediaWiki:Val add
8
1172
1172
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Add
MediaWiki:Val article lists
8
1173
1173
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
List of validated articles
MediaWiki:Val clear old
8
1174
1174
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Clear my older validation data
MediaWiki:Val del
8
1175
1175
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Delete
MediaWiki:Val details th
8
1176
1176
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
<sub>User</sub> \ <sup>Topic</sup>
MediaWiki:Val details th user
8
1177
1177
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
User $1
MediaWiki:Val form note
8
1178
1178
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
'''Hint:''' Merging your data means that for the article revision you select, all options where you have specified ''no opinion'' will be set to the value and comment of the most recent revision for which you have expressed an opinion. For example, if you want to change a single option for a newer revision, but also keep your other settings for this article in this revision, just select which option you intend to ''change'', and merging will fill in the other options with your previous settings.
MediaWiki:Val iamsure
8
1179
1179
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Check this box if you really mean it!
MediaWiki:Val list header
8
1180
1180
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
<th>#</th><th>Topic</th><th>Range</th><th>Action</th>
MediaWiki:Val merge old
8
1181
1181
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Use my previous assessment where selected 'No opinion'
MediaWiki:Val my stats title
8
1182
1182
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
My validation overview
MediaWiki:Val no
8
1183
1183
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
No
MediaWiki:Val no anon validation
8
1184
1184
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
You have to be logged in to validate an article.
MediaWiki:Val noop
8
1185
1185
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
No opinion
MediaWiki:Val of
8
1186
1186
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
$1 of $2
MediaWiki:Val page validation statistics
8
1187
1187
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Page validation statistics for $1
MediaWiki:Val percent
8
1188
1188
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
<b>$1%</b><br />($2 of $3 points<br />by $4 users)
MediaWiki:Val percent single
8
1189
1189
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
<b>$1%</b><br />($2 of $3 points<br />by one user)
MediaWiki:Val rev for
8
1190
1190
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Revisions for $1
MediaWiki:Val rev stats
8
1191
1191
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
See the validation statistics for "$1" <a href="$2">here</a>
MediaWiki:Val revision
8
1192
1192
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Revision
MediaWiki:Val revision changes ok
8
1193
1193
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Your ratings have been stored!
MediaWiki:Val revision number
8
1194
1194
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Revision #$1
MediaWiki:Val revision of
8
1195
1195
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Revision of $1
MediaWiki:Val revision stats link
8
1196
1196
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
details
MediaWiki:Val show my ratings
8
1197
1197
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Show my validations
MediaWiki:Val stat link text
8
1198
1198
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Validation statistics for this article
MediaWiki:Val tab
8
1199
1199
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Validate
MediaWiki:Val table header
8
1200
1200
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
<tr><th>Class</th>$1<th colspan=4>Opinion</th>$1<th>Comment</th></tr>
MediaWiki:Val this is current version
8
1201
1201
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
this is the latest version
MediaWiki:Val time
8
1202
1202
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Time
MediaWiki:Val topic desc page
8
1203
1203
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Project:Validation topics
MediaWiki:Val total
8
1204
1204
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Total
MediaWiki:Val user stats title
8
1205
1205
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Validation overview of user $1
MediaWiki:Val user validations
8
1206
1206
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
This user has validated $1 pages.
MediaWiki:Val validate article namespace only
8
1207
1207
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Only articles can be validated. This page is <i>not</i> in the article namespace.
MediaWiki:Val validate version
8
1208
1208
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Validate this version
MediaWiki:Val validated
8
1209
1209
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Validation done.
MediaWiki:Val validation of
8
1210
1210
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Validation of "$1"
MediaWiki:Val version
8
1211
1211
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Version
MediaWiki:Val version of
8
1212
1212
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Version of $1
MediaWiki:Val view version
8
1213
1213
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
View this revision
MediaWiki:Val votepage intro
8
1214
1214
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Change this text <a href="{{SERVER}}{{localurl:MediaWiki:Val_votepage_intro}}">here</a>!
MediaWiki:Val warning
8
1215
1215
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
<b>Never, <i>ever</i>, change something here without <i>explicit</i> community consensus!</b>
MediaWiki:Val yes
8
1216
1216
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Yes
MediaWiki:Validate
8
1217
1217
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Validate page
MediaWiki:Variantname-zh
8
1218
1218
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
zh
MediaWiki:Variantname-zh-cn
8
1219
1219
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
cn
MediaWiki:Variantname-zh-hk
8
1220
1220
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
hk
MediaWiki:Variantname-zh-sg
8
1221
1221
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
sg
MediaWiki:Variantname-zh-tw
8
1222
1222
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
tw
MediaWiki:Version
8
1223
1223
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Version
MediaWiki:Versionrequired
8
1224
1224
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Version $1 of MediaWiki required
MediaWiki:Versionrequiredtext
8
1225
1225
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Version $1 of MediaWiki is required to use this page. See [[Special:Version]]
MediaWiki:Viewcount
8
1226
1226
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
This page has been accessed $1 times.
MediaWiki:Viewprevnext
8
1227
1227
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
View ($1) ($2) ($3).
MediaWiki:Views
8
1228
1228
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Views
MediaWiki:Viewsource
8
1229
1229
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
View source
MediaWiki:Viewtalkpage
8
1230
1230
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
View discussion
MediaWiki:Wantedpages
8
1231
1231
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Wanted pages
MediaWiki:Watch
8
1232
1232
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Watch
MediaWiki:Watchdetails
8
1233
1233
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
* $1 pages watched not counting talk pages
* [[Special:Watchlist/edit|Show and edit complete watchlist]]
MediaWiki:Watcheditlist
8
1234
1234
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Here's an alphabetical list of your
watched content pages. Check the boxes of pages you want to remove from your watchlist and click the 'remove checked' button
at the bottom of the screen (deleting a content page also deletes the accompanying talk page and vice versa).
MediaWiki:Watchlist
8
1235
1235
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
My watchlist
MediaWiki:Watchlistall1
8
1236
1236
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
all
MediaWiki:Watchlistall2
8
1237
1237
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
all
MediaWiki:Watchlistcontains
8
1238
1238
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Your watchlist contains $1 pages.
MediaWiki:Watchlistsub
8
1239
1239
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
(for user "$1")
MediaWiki:Watchmethod-list
8
1240
1240
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
checking watched pages for recent edits
MediaWiki:Watchmethod-recent
8
1241
1241
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
checking recent edits for watched pages
MediaWiki:Watchnochange
8
1242
1242
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
None of your watched items was edited in the time period displayed.
MediaWiki:Watchnologin
8
1243
1243
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Not logged in
MediaWiki:Watchnologintext
8
1244
1244
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
You must be [[Special:Userlogin|logged in]] to modify your watchlist.
MediaWiki:Watchthis
8
1245
1245
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Watch this page
MediaWiki:Watchthispage
8
1246
1246
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Watch this page
MediaWiki:Wednesday
8
1247
1247
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Wednesday
MediaWiki:Welcomecreation
8
1248
1248
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
== Welcome, $1! ==
Your account has been created. Don't forget to change your {{SITENAME}} preferences.
MediaWiki:Whatlinkshere
8
1249
1249
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
What links here
MediaWiki:Whitelistacctext
8
1250
1250
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.
MediaWiki:Whitelistacctitle
8
1251
1251
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
You are not allowed to create an account
MediaWiki:Whitelistedittext
8
1252
1252
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
You have to [[Special:Userlogin|login]] to edit pages.
MediaWiki:Whitelistedittitle
8
1253
1253
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Login required to edit
MediaWiki:Whitelistreadtext
8
1254
1254
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
You have to [[Special:Userlogin|login]] to read pages.
MediaWiki:Whitelistreadtitle
8
1255
1255
2005-09-19T20:28:02Z
MediaWiki default
0
wikitext
text/x-wiki
Login required to read
MediaWiki:Wikipediapage
8
1256
1256
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
View project page
MediaWiki:Wlheader-enotif
8
1257
1257
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
* Email notification is enabled.
MediaWiki:Wlheader-showupdated
8
1258
1258
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
* Pages which have been changed since you last visited them are shown in '''bold'''
MediaWiki:Wlhide
8
1259
1259
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Hide
MediaWiki:Wlhideshowown
8
1260
1260
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
$1 my edits.
MediaWiki:Wlnote
8
1261
1261
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Below are the last $1 changes in the last <b>$2</b> hours.
MediaWiki:Wlsaved
8
1262
1262
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
This is a saved version of your watchlist.
MediaWiki:Wlshow
8
1263
1263
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Show
MediaWiki:Wlshowlast
8
1264
1264
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Show last $1 hours $2 days $3
MediaWiki:Wrong wfQuery params
8
1265
1265
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Incorrect parameters to wfQuery()<br />
Function: $1<br />
Query: $2
MediaWiki:Wrongpassword
8
1266
1266
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
The password you entered is incorrect (or missing). Please try again.
MediaWiki:Yourdiff
8
1267
1267
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Differences
MediaWiki:Yourdomainname
8
1268
1268
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Your domain
MediaWiki:Youremail
8
1269
1269
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Email *
MediaWiki:Yourlanguage
8
1270
1270
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Language
MediaWiki:Yourname
8
1271
1271
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Username
MediaWiki:Yournick
8
1272
1272
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Nickname
MediaWiki:Yourpassword
8
1273
1273
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Password
MediaWiki:Yourpasswordagain
8
1274
1274
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Retype password
MediaWiki:Yourrealname
8
1275
1275
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Real name *
MediaWiki:Yourtext
8
1276
1276
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Your text
MediaWiki:Yourvariant
8
1277
1277
2005-09-19T20:28:03Z
MediaWiki default
0
wikitext
text/x-wiki
Variant
Main Page
0
1
1278
1
2005-09-19T21:18:59Z
Phil
1
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be ReseauCitoyen].
= Contents =
* [[Bubble]]: A mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be ReseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be ReseauCitoyen] node
* [[OperationPanik]]: Audio Streaming for [http://www.reseaucitoyen.be ReseauCitoyen] Testimonial
* [[GestionReseauCitoyen]]: Node logbook
* [[AodvOpenWrt]]: Some notes about running AODV-UU on [http://openwrt.org OpenWrt]
* [[NoeudBulles]]: This wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be ReseauCitoyen] node.
Bubble:Community Portal
4
1278
1279
2005-09-21T15:48:34Z
Phil
1
wikitext
text/x-wiki
= Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
Bubble
0
1279
1280
2005-09-21T16:30:28Z
Phil
1
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Table of contents =
* [[DiskLess]]: the version 1 of Bubble!
* [[Bubble overview]] / [[:RC:DistributionBubble]]: a general overview (motivation, big picture)
* [[Install guide]]: How to install a Bubble node
* [[Bubble development]]: information about development environment (requirements, directory structure, utility scripts, ...)
* [[Bubble architecture]]: description of the Bubble architecture
* [[Routing and firewall]]: information about the routing and firewalling on the node
* [[To-do]]: Todo's and ideas
[[Category:Bubble]]
1286
1280
2005-09-21T21:31:41Z
Phil
1
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Table of contents =
* [[DiskLess]]: the version 1 of Bubble!
* [[Bubble overview]] / [[:RC:DistributionBubble]]: a general overview (motivation, big picture)
* [[Install guide]]: How to install a Bubble node
* [[Bubble development]]: information about development environment (requirements, directory structure, utility scripts, ...)
* [[Bubble architecture]]: description of the Bubble architecture
* [[Routing and firewall]]: information about the routing and firewalling on the node
* [[To-do]]: Todo's and ideas
= Milestones =
Sep-05:
<br />After a long quiet period, the development has restarted!
* Updated [[BuilRoot]] (some small changes again in the architecture)
* Setup Q-Emu for testing releases
* New OLSR package
* Floppy and Etherboot images have been successfully tested
* Utility scripts made to generate images based on ''meta-description''
Dec-04:
* New version of Bubble in the make!
* v1.99 archived in the CVS
* New buildroot imported
* Wiki pages under revision
26-Oct-03:
* Dropbear is available -- it is now possible to have a ssh server on a single floppy distribution!
05-Oct-03:
* PCMCIA is now available
* Node [http://bulles.no-ip.org/ReseauCitoyen/node_status.php Bulles] is now running Bubble v1.99-cvs (migrated from DiskLess)
28-Sep-03:
* Bubble has now all the features of DiskLess (except PCMCIA). Obviously some testing needs to be done.
21-Sep-03:
* The package framework is now fully implemented (See BubblePackage)
* The first packages are released (Belgian keyboard ;) and Wireless Tools)
14-Sep-03:
* Not too much visible progress, but we can load and parse the ConfigFile from the boot device
07-Sep-03:
* We have a running ''core'' system!
31-Aug-03:
* CVS module created
* Imported the [http://www.uclibc.org/ uClibc buildroot] CVS into the new Bubble CVS
cvs import -ko -m "Buildroot 030831" ReseauCitoyen/Bubble/buildroot buildroot buildroot_030831
= To Do =
* Additional packages
** iptables
** ...
* Handling multiple interfaces
* User documentation to build images
* USer Interface to generate images
* User Interface to configure node
* Performance improvement in parsing configuration file <br />The shell based version is rather slow on old systems
* ...
[[Category:Bubble]]
1287
1286
2005-09-21T21:36:18Z
Phil
1
/* Table of contents */
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Table of contents =
* [[DiskLess]]: the version 1 of Bubble!
* [[Bubble overview]] / [[:RC:DistributionBubble]]: a general overview (motivation, big picture)
* [[Install guide]]: How to install a Bubble node
* [[Bubble development]]: information about development environment (requirements, directory structure, utility scripts, ...)
* [[Bubble runtime architecture]]: description of the Bubble runtime architecture
* [[Routing and firewall]]: information about the routing and firewalling on the node
* [[To-do]]: Todo's and ideas
= Milestones =
Sep-05:
<br />After a long quiet period, the development has restarted!
* Updated [[BuilRoot]] (some small changes again in the architecture)
* Setup Q-Emu for testing releases
* New OLSR package
* Floppy and Etherboot images have been successfully tested
* Utility scripts made to generate images based on ''meta-description''
Dec-04:
* New version of Bubble in the make!
* v1.99 archived in the CVS
* New buildroot imported
* Wiki pages under revision
26-Oct-03:
* Dropbear is available -- it is now possible to have a ssh server on a single floppy distribution!
05-Oct-03:
* PCMCIA is now available
* Node [http://bulles.no-ip.org/ReseauCitoyen/node_status.php Bulles] is now running Bubble v1.99-cvs (migrated from DiskLess)
28-Sep-03:
* Bubble has now all the features of DiskLess (except PCMCIA). Obviously some testing needs to be done.
21-Sep-03:
* The package framework is now fully implemented (See BubblePackage)
* The first packages are released (Belgian keyboard ;) and Wireless Tools)
14-Sep-03:
* Not too much visible progress, but we can load and parse the ConfigFile from the boot device
07-Sep-03:
* We have a running ''core'' system!
31-Aug-03:
* CVS module created
* Imported the [http://www.uclibc.org/ uClibc buildroot] CVS into the new Bubble CVS
cvs import -ko -m "Buildroot 030831" ReseauCitoyen/Bubble/buildroot buildroot buildroot_030831
= To Do =
* Additional packages
** iptables
** ...
* Handling multiple interfaces
* User documentation to build images
* USer Interface to generate images
* User Interface to configure node
* Performance improvement in parsing configuration file <br />The shell based version is rather slow on old systems
* ...
[[Category:Bubble]]
1289
1287
2005-09-21T21:55:34Z
Phil
1
/* Table of contents */
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Table of contents =
* [[DiskLess]]: the version 1 of Bubble!
* [[Bubble overview]] / [[:RC:DistributionBubble]]: a general overview (motivation, big picture)
* [[Install guide]]: How to install a Bubble node
* [[Bubble development]]: information about development environment (requirements, directory structure, utility scripts, ...)
* [[Bubble runtime architecture]]: description of the Bubble runtime architecture
* [[Routing and firewall]]: information about the routing and firewalling on the node
= Milestones =
Sep-05:
<br />After a long quiet period, the development has restarted!
* Updated [[BuilRoot]] (some small changes again in the architecture)
* Setup Q-Emu for testing releases
* New OLSR package
* Floppy and Etherboot images have been successfully tested
* Utility scripts made to generate images based on ''meta-description''
Dec-04:
* New version of Bubble in the make!
* v1.99 archived in the CVS
* New buildroot imported
* Wiki pages under revision
26-Oct-03:
* Dropbear is available -- it is now possible to have a ssh server on a single floppy distribution!
05-Oct-03:
* PCMCIA is now available
* Node [http://bulles.no-ip.org/ReseauCitoyen/node_status.php Bulles] is now running Bubble v1.99-cvs (migrated from DiskLess)
28-Sep-03:
* Bubble has now all the features of DiskLess (except PCMCIA). Obviously some testing needs to be done.
21-Sep-03:
* The package framework is now fully implemented (See BubblePackage)
* The first packages are released (Belgian keyboard ;) and Wireless Tools)
14-Sep-03:
* Not too much visible progress, but we can load and parse the ConfigFile from the boot device
07-Sep-03:
* We have a running ''core'' system!
31-Aug-03:
* CVS module created
* Imported the [http://www.uclibc.org/ uClibc buildroot] CVS into the new Bubble CVS
cvs import -ko -m "Buildroot 030831" ReseauCitoyen/Bubble/buildroot buildroot buildroot_030831
= To Do =
* Additional packages
** iptables
** ...
* Handling multiple interfaces
* User documentation to build images
* USer Interface to generate images
* User Interface to configure node
* Performance improvement in parsing configuration file <br />The shell based version is rather slow on old systems
* ...
[[Category:Bubble]]
Category:Bubble
14
1280
1281
2005-09-21T16:32:49Z
Phil
1
wikitext
text/x-wiki
Distribution Bubble!
DiskLess
0
1281
1282
2005-09-21T16:43:53Z
Phil
1
wikitext
text/x-wiki
= Description =
See the description on ReseauCitoyen: [[RC:DiskLess ]]
= Install Instructions =
From the INSTALL.bulles file:
Diskless distribution based on uClibc buildroot
===============================================
$Id: INSTALL.bulles,v 1.2 2003/05/10 14:19:00 pvanhaes Exp $
Philippe.Vanhaesendonck@topgame.be
Background
----------
The objective of this distrubution is to be able to run a Wireless node on a
diskless computer.
The configuration will be typically:
LocalLan <---> Node <---> WirelessLan
The kernel & disk image is booted from the LocalLan, the default firewall setup
does not forward anything from the WirelessLan to the LocalLan
Alternatively, you can build a bootbale CD-ROM or a CF-Card image.
In that case, you do not need a NIC for the LocalLan
Access to the node is done via ssh
The WirelessLan can be a WireLess device or a NIC connected to a wireless
bridge (LinkSys Wet11)
The kernel is compiled with most of the network drivers as modules. If space is
an issue, just keep the ones you need!
The distribution does not attempt to access any local disk, so it can be
easily tested on any computer.
Pre-requisites on the Build system
----------------------------------
* mknbi for etherboot images
apt-get install mknbi
* syslinux for PXE boot loaders, ISOLinux CD-ROM or SysLinux images
apt-get install syslinux
* wget for the buildroot
apt-get install wget
* Disk space needed for the build: 800MB
Pre-requisites on the LocalLan (Only for NetBoot)
------------------------------
(Can be on the Build System)
* dhcp (or bootp) configured for network boot
* tftpd (HPA's tftp server recommended for PXE boots)
apt-get install tftpd-hpa
Pre-requisites for the node
---------------------------
* 16 MB RAM
* One NIC/Wireless for the WireLess Lan
If we need to NetBoot:
* One NIC for the LocalLan
* NetBoot enabled -- several possibilities:
- LocalLan NIC can NetBoot
- BIOS can NetBoot
- Use a floppy to NetBoot (!)
Install
-------
!You do not and sould not be root to build this distribution!
The distribution need to know at least which network interfaces needs to be
configured.
* copy bulles.cfg.distr to bulles.cfg and review it ;-)
If you want to add additional files/scrits, the directory tree under
sources/local_skeleton
will be copied to your iamge.
This directory is not touched during upgrades.
Make all the stuff, and go for a beer:
$ make
After some time you should get the kernel and root filesystem
Post-Install
------------
Once your system is running, you can:
* Generate ssh keys
# ssh-keygen -f /etc/ssh_host_rsa_key -N '' -t rsa
# ssh-keygen -f /etc/ssh_host_dsa_key -N '' -t dsa
Once this is done, transfer the file to your build system to make them
'permanent' -- e.g.:
# scp /etc/ssh_host_* <user>@<host>:<buildroot>/sources/local_skeleton/etc
Re-building an image
--------------------
If you make changes to the 'skeletons' and want to re-build the image:
$ make rootclean && make
Packages Installed
------------------
Linux 2.4.20 with wireless patches
Busybox 0.61-pre
uClibc 0.9.19
zlib 1.1.4 (ssh)
openssl 0.9.7a (ssh)
openssh 3.5p1
iptables 1.2.8
kernel-aodv 2.0.1
pcmcia-cs 3.2.3
wireless_tools 26
Todo
----
radvd for IPV6
History
-------
10-May-2003 Moved all the specifics to config file...
27-Apr-2003 Improved config file
iptables 1.2.8 (GFR)
22-Apr-2003 Support for bootables CD
21-Apr-2003 First public release
= CVS Access =
The latest stable realease is [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/DiskLess/?root=Development&only_with_tag=rc-1-1 rc-1-1]
The [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/DiskLess/ latest development release] now supports AODV and non-AODV clients at the same time (see [[Routing and firewall]])
[[Category:Bubble]]
Bubble overview
0
1282
1283
2005-09-21T17:27:25Z
Phil
1
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Motivation =
There is already a lot of good stuff available today, so why do we need an additional distribution?
The main vector of motivation was to be able to build a '''cheap''' node for [http://www.reseaucitoyen.be RéseauCitoyen], that is on top of depreciated hardware that some companies are throwing away these days.
In a pure economical context, re-using old hardware can be more expensive as buying a new one, since the setup takes time and man-days are (very) expensive!
On the other hand, from an hobbyist standpoint, your free time does not cost anything, so refurbishing an old hardware that you get for nothing is very attractive.
The costs will then be limited to a Wireless card and a self-made antenna, so I do believe we can build a node for less than '''50 Euros'''.
= The Big Picture =
'''Note''': All these pictures are a bit obsolote in the sense that the ''alias'' on the wireless interface is a trick to allow non-linux clients to join the network when the routing is done with [http://w3.antd.nist.gov/wctg/aodv_kernel/ Kernel AODV]. This feature is deprecated since:
* I am not using [http://w3.antd.nist.gov/wctg/aodv_kernel/ Kernel AODV] anymore <br />We had stability issues during real-life tests in 2004. Since most of the protocol resides in kernel, it seriously impact the stability of the whole system.
* It does not work with [http://core.it.uu.se/AdHoc/AodvUUImpl AODV-UU] which takes control of the whole interface
* It is less relevant with OLSR as this protocol is widely available.
== Fully configured node ==
http://bulles.topgame.be/ReseauCitoyen/bubble_01.png
The above figure illustrates a fully configured Bubble node.
All parts are optional and configuration is flexible
Typical applications:
* [http://www.reseaucitoyen.be RéseauCitoyen] relay;
* All the computers on the wired Lan get access to [http://www.reseaucitoyen.be RéseauCitoyen];
* Internet bandwidth can be offered to [http://www.reseaucitoyen.be RéseauCitoyen].
== Minimal configuration ==
http://bulles.topgame.be/ReseauCitoyen/bubble_02.png
This is the minimal configuration for the Bubble node. In this configuration, it acts ''only'' as a relay.
<br />Typical applications:
* Standalone [http://www.reseaucitoyen.be RéseauCitoyen] relay to drop on the top of a building;
* ''Personal relay'': the Bubble node is located in a place where he can ''see'' other nodes, and acts as a relay for home computers with a (cheap) wireless card.
== Classic configuration ==
http://bulles.topgame.be/ReseauCitoyen/bubble_03.png
The node is linked to a user workstation using a LAN cable.
* [http://www.reseaucitoyen.be RéseauCitoyen] relay;
* ''Personal relay'': the Bubble node is located in a place where he can ''see'' other nodes, and acts as a relay for home computer connected with a simple network cable.
= Key features =
* Run on virtually any Intel-based PC
* Runs in 16MB memory
* Ram disk based.<br />No hard-disk need -- boots from a floppy, a CD-ROM, a CF-Card or from the network
* Modular distribution -- depending on the available additional packages can be installed (ssh, ...)
1284
1283
2005-09-21T19:39:39Z
Phil
1
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Motivation =
There is already a lot of good stuff available today, so why do we need an additional distribution?
The main vector of motivation was to be able to build a '''cheap''' node for [http://www.reseaucitoyen.be RéseauCitoyen], that is on top of depreciated hardware that some companies are throwing away these days.
In a pure economical context, re-using old hardware can be more expensive as buying a new one, since the setup takes time and man-days are (very) expensive!
On the other hand, from an hobbyist standpoint, your free time does not cost anything, so refurbishing an old hardware that you get for nothing is very attractive.
The costs will then be limited to a Wireless card and a self-made antenna, so I do believe we can build a node for less than '''50 Euros'''.
= The Big Picture =
'''Note''': All these pictures are a bit obsolote in the sense that the ''alias'' on the wireless interface is a trick to allow non-linux clients to join the network when the routing is done with [http://w3.antd.nist.gov/wctg/aodv_kernel/ Kernel AODV]. This feature is deprecated since:
* I am not using [http://w3.antd.nist.gov/wctg/aodv_kernel/ Kernel AODV] anymore <br />We had stability issues during real-life tests in 2004. Since most of the protocol resides in kernel, it seriously impact the stability of the whole system.
* It does not work with [http://core.it.uu.se/AdHoc/AodvUUImpl AODV-UU] which takes control of the whole interface
* It is less relevant with OLSR as this protocol is widely available.
== Fully configured node ==
http://bulles.topgame.be/ReseauCitoyen/bubble_01.png
The above figure illustrates a fully configured Bubble node.
All parts are optional and configuration is flexible
Typical applications:
* [http://www.reseaucitoyen.be RéseauCitoyen] relay;
* All the computers on the wired Lan get access to [http://www.reseaucitoyen.be RéseauCitoyen];
* Internet bandwidth can be offered to [http://www.reseaucitoyen.be RéseauCitoyen].
== Minimal configuration ==
http://bulles.topgame.be/ReseauCitoyen/bubble_02.png
This is the minimal configuration for the Bubble node. In this configuration, it acts ''only'' as a relay.
<br />Typical applications:
* Standalone [http://www.reseaucitoyen.be RéseauCitoyen] relay to drop on the top of a building;
* ''Personal relay'': the Bubble node is located in a place where he can ''see'' other nodes, and acts as a relay for home computers with a (cheap) wireless card.
== Classic configuration ==
http://bulles.topgame.be/ReseauCitoyen/bubble_03.png
The node is linked to a user workstation using a LAN cable.
* [http://www.reseaucitoyen.be RéseauCitoyen] relay;
* ''Personal relay'': the Bubble node is located in a place where he can ''see'' other nodes, and acts as a relay for home computer connected with a simple network cable.
= Key features =
* Run on virtually any Intel-based PC
* Runs in 16MB memory
* Ram disk based.<br />No hard-disk need -- boots from a floppy, a CD-ROM, a CF-Card or from the network
* Modular distribution -- depending on the available additional packages can be installed (ssh, ...)
= DiskLess Vs. Bubble =
What's the difference between [[DiskLess]] and [[Bubble]]?
At runtime there is almost no difference, the packages available for [[Bubble]] arejust more current.
<br />The main difference is in the build process. For [[DiskLess]], you have to know the node hardware at compile time. Build and runtime parameters are mixed. [[Bubble]] uses a pre-build environement and is therefore much more flexible.
[[Category:Bubble]]
Bubble development
0
1283
1285
2005-09-21T21:09:45Z
Phil
1
wikitext
text/x-wiki
This article describes the development architecture and requirements to '''develop''' and '''build''' the [[Bubble]] distribution.
If you are interrested in configuring a [[Bubble]] node, see the [[Bubble install guide]].
= From DiskLess to Bubble =
This section describes the major changes between [[DiskLess]] and [[Bubble]]
High level milestones:
* [[DiskLess]]: The initial Version
* [[Bubble]] v1.99: Intermediate version -- never released
* [[Bubble]] v2.x: Current version in development
== Configuration ==
* The [[Bubble configuration file]] used to have both build and runtime parameters. Now we have:
** Build parameters included in the [[BuildRoot]] configuration
** Runtime parameters associated with their respective packages. <br />Each package has its own configuration template. A [[Bubble configuration file]] is the concatenation of all (filled) templates.
** We have also added more informational fields, like version, dependencies, ...
* The current [[Bubble configuration file]] is in '.ini' format. <br />We had a debate for wether or not introduce XML. It has been decided to stick to the .ini format for the time being:
** The XML format does not bring additional functionalities and we already do have a .ini parser.
** Since the parsing is isolated in the code anyway, we can change at a later time without impacting the project
* Project: Rebuild a Web based configuration tool (We used to have one in [[DiskLess]])
* Project: Command line configuration tool -- possibly available on the target node.
* Project: Auto-configuration tool (a generic bootable CD that would build [[Bubble configuration file]] suitable for the machine)
== Build architecture ==
Upgraded to the new [http://buildroot.uclibc.org/ uClibc BuildRoot] (major architecture change!)
High level overview:
* Core packages are built and installed in the ''root'' image (no changes from 1.99)
* Non-core packages are built and installed in separate package files using additional target in the makefile (less destructive)
* For the ''bubble'' makefile target, instead of building a node image, now we:
** Just generate the ''root FS'';
** Save [[BuildRoot]] environement in a file;
** The final ''packaging'' is done by script, in a separate area leaving the ''root'' directory untouched.<br />This way, we can easily generate standard images, and build special ones on the fly.
** Driver packages are built by a script as well and no more at built-time as before.
== Runtime architecture ==
* No change foreseen
== Functionnalities ==
* No change foreseen
* Test on [http://soekris.com/ Soekris] and [http://pcengines.ch/wrap.htm WRAP]
= Requirements =
[[Bubble]] is developped in a [http://www.debian.org/releases/sarge/ Debian Sarge] environment, but should build on any Linux platform.
The packages used are:
* Development Packages
** base system -- Gnu-Linux system with the ''standard'' utilities installed<br />Not detailed here...
** gcc
** make
** autoconf
** flex
** bison
** perl
** libncurses5-dev -- To configure buildroot
** wget -- To get the sources
** fakeroot -- To generate the packages
** cvs -- If you just want to build, you do not need CVS, just grep a tarball of the distribution!
* Build time (to build the images)
** syslinux -- [http://syslinux.zytor.com/faq.php SysLinux] is used to package the images
** mkisofs -- To build [http://syslinux.zytor.com/iso.php ISOLinux] images
** mknbi -- To tag [http://www.etherboot.org/ Etherboot] images
* Web Deployment -- For the web user interface (Not available yet)
** apache
** php4
** php4-curl
* Runtime -- To run the NetworkBoot images
** dhcp3-server -- The DHCP server
** tftpd-hpa -- TFTP server compliant with PXE
= Core System =
The core system (kernel/initrd/boot scripts) is developed with the BusyBox/uClibc BuildRoot.
(Essentially using what has been done for DiskLess)
= Packages =
Obviously we want to build the packages using the same environment, but they should not be installed into the same 'root' directory
BubblePackage describes the packages structure
= Directory structure =
In the development environment the directory structure for DiskLess looks like this:
${BULLES_HOME}/ Contains all the development environment (around 1GB)
bin/ Utility scripts
buildroot/ The uClibc buildroot
The filesystem layout from uClibc is preserved
patches/ Patches for the buildroot (Changes from the original uClibc buildroot)
The directory contain one file per file to be patched (<filename>.patch)
(We need to review this: there is conflict if we need to patch 2 files
having the same name -- e.g. 2 Makefile)
add-ons/ Add-ons for the buildroot (Additional files for the uClibc buildroot)
The directory structure under add-ons is identical to the buildroot one.
sources/ All the sources dowloaded for the buildroot (used as 'cache')
rc_web/ PHP User interface to generate custom core packages
The entire <tt>${BULLES_HOME}</tt> is under CVS, but obviously <tt>buildroot</tt> and <tt>sources</tt> are ignored.
This is working OK, but the use of scripts to maintain the CVS is not error-prone...
Therefore, in Bubble, we import the uClibc [[BuildRoot]] as a third party (See the [http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_System_v1.12.12.1:_Tracking_third-party_sources -- Chap. 13]).
Advantages:
* The revision management is now very simple (or at least it should be)
* Bubble is more stable (changes to the pristine [[BuildRoot]] are imported in a controlled way)
Areas of attention:
* More files in the CVS (But this is not huge)
* The merge of new versions of the [[BuildRoot]] need to be done with care
The Bubble directory structure is now simplified:
${BUBBLE_HOME}/ Contains all the development environment (around 1GB)
bin/ Utility scripts
(Not imported yet)
buildroot/ The uClibc buildroot
The filesystem layout from uClibc is preserved
www/ PHP User interface to generate custom core packages
The entire <tt>${BUBBLE_HOME}</tt> is under CVS, including the [[BuildRoot]] (See the [[BuildRoot]] page for the directory layout).
= Utility scripts =
With the new CVS approach, all the [[DiskLess]] scripts are now obsolete!
'''To do''': Describe the new utilities
= CVS =
[http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble/ Browse the CVS]!
The path in the CVS is <tt>ReseauCitoyen/Bubble</tt>
<br />Module name: <tt>bubble</tt> (or <tt>Bubble</tt>)
[[Category:Bubble]]
Bubble runtime architecture
0
1284
1288
2005-09-21T21:53:19Z
Phil
1
wikitext
text/x-wiki
= Kernel =
The development is based on the latest 2.4.
See [[Linux kernel]] for more details.
= Boot process =
== High level description ==
# Load kernel (including initrd)
# Get configuration file
# Create ramdisk
# Copy base system from initrd to ramdisk
# Load packages into ramdisk as specified in the configuration file
# switchroot and start the system from ramdisk
== Boot media ==
Bubble supports the following boot media:
* [[Network boot]]
** Directly via DHCP/BootP if the hardware supports it
** Via PXEBoot (using [http://syslinux.zytor.com/pxe.php PXELinux])
** Via [http://www.etherboot.org/ Etherboot]
* CD-ROM (Using [http://syslinux.zytor.com/iso.php ISOLinux])
* [[SysLinux boot]]: boot from a FAT filesystem (Using [http://syslinux.zytor.com/faq.php SysLinux]) <br />It allows too boot from:
** A floppy disk
** A compact Flash (Via an IDE/CF bridge)
The boot media contains:
* Kernel image
* Initrd image (bundled with the kernel in case of a network boot)
* The [[Bubble configuration file]]
* The packages
== Initrd ==
The kernel is booted through an initial ram disk.
There is no alternative since:
* We need to be able to load the right network module in case of network boot or exotic hardware
* The root fs is a ramdisk which is generated at run time
== About ramdisk ==
It took me some time to realize that the '''ramdisk_size''' kernel parameter is just there to set an upper bound to the ramdisks.
<br />It does not mean that this amount of memory is allocated when a ramdisk is created.
In DiskLess we are setting the ''ramdisk_size'' to the size of the initrd ramdisk. This is not wrong, but it actually limits the size of all ramdisks!
In Bubble, we want a small initrd, so we cannot do this anymore!
<br />We just set the ''ramdisk_size'' to an arbitrary high value -- this does not matter too much.
== Pivot Root ==
When the ''new'' ramdisk is ready, we need to swap the root devices. This is done by the `pivot_root` command.
I had to experiment a bit to get it right:
# BusyBox will not start init if does not have pid 1.<br />The workaround is to launch the ''linuxrc'' applet
# As consequence of #1, ''linuxrc'' need to be enabled in BusyBox. This makes that at install time, BusyBox will overwrite the ''linuxrc'' of the initrd, which is not what we need.<br />To circumvent this, we will simply copy our linuxrc scripts in the fixups...
For reference, the snipped of CVS:buildroot/sources/target_skeleton/linuxrc.sh which does the trick:
echo "---------- Pivot Root --------------------------------------------------"
/bin/umount /proc
cd $ROOT
/sbin/pivot_root . initrd
echo "---------- Stating init ------------------------------------------------"
ln -s sbin/init linuxrc
exec chroot . ./linuxrc <dev/console >dev/console 2>&1
echo "---------- Init could not be started!!! --------------------------------"
== Boot Device identification ==
Another difficulty is to identify the boot device!
<br />This information is just not available as such.
<br />We need this information to load our configuration file and the packages that need to be installed
There are several possibilities:
# Try all the possible combinations (based on /proc/devices and /proc/filesystems)<br />This is not bullet proof, a wrong device can match...
# Scan the PCI bus to find a network card<br />Again here, we may get a wrong one!
# Pass the information on the command line
The last one may require manual configuration, but it will work as-is most of the time:
* [[Network boot]]: We are doing a new DHCP request to get all the information from the DHCP server (no configuration required).<br />IP can be passed on the command line, but unfortunately this does not help too much, since we are missing information about the BootP server. Therefore we have to re-query the DHCP server. The following information is given for reference, but is not used in Bubble.
** [http://www.etherboot.org/ Etherboot]: use the `--ip=rom` option in ''mkelf-linux''
** [http://syslinux.zytor.com/pxe.php PXELinux]: set `IPAPPEND 1`in the configuration file
* Floppy/CD-Rom/CF: all are [http://syslinux.zytor.com/faq.php SysLinux] -- we add the device in the configuration file (`APPEND` parameter).
[[Category:Bubble]]
Install guide
0
1285
1290
2005-09-22T21:43:55Z
Phil
1
wikitext
text/x-wiki
{{Outdated}}
This page describes the necessary steps needed to get get a bubble node up and running.
= Requirements =
We need basically some hardware for the node, plus an additional system to package the distribution.
* The node itself
** Intel 386 compatible hardware
** 16 MB RAM
** A wireless interface supported by Linux (!)
** A boot device supported by Bubble (floppy, CD-ROM, CF-Card, Network card, ...)
** An optional network card
* A computer to package the distribution. There is no restriction on the Operating System, but it need to be able to create the boot device: format/write MS-DOS FAT filesystem (floppy/CF-Card node), burn ISO CD-ROM for CD-ROM based node, or act as BootP/DHCP/TFTP server for a network based node.
= Installation overview =
There are 3 ways to get the distribution packaged
* Build from source: this is probably the hardest way!<br />You may want to build from source if you want to modify the distribution.<br />Read [[Bubble development]] and if you still want to go on, get a [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble/ tarball] with the source and compile the whole stuff!<br />Browse this wiki for more information.
* Use the RC-Matic: from one extreme to the other, the RC-Matic allows you to describe your configuration on the Web, and download all the parts needed to run your node.<br />At this time, the RC-Matic only generates [[DiskLess]] images! Conversion to Bubble is under way. But the need of an custom image is very limited since Bubble is much more configurable at run-time than [[DiskLess]].
* Use pre-build packages: last but not least, there are already some pre-build packages available, so you just have to download them, put it on your boot device and your node is ready!
This [[Install guide]] describes how to get a node up and running with pre-build packages.
<br />Pre-build packages are available at http://reseaucitoyen.be/diskless/bubble
By using pre-build packages, you can have your bubble node operational in just a few minutes once you now your hardware configuration.
<br />Installation is done in 3 steps:
# Download the components;
# Review and customize your configuration file;
# Copy all the parts on your boot media.
= Download Components =
You will need 3 parts:
* The [[Bubble configuration file]]
* The Core System
* The Packages
== Configuration File ==
Just download the configuration file template as base for your configuration: BubbleImage:bubble.cfg
== Core System ==
The Core System is made of the [[Linux kernel]] and a root file system.
The package you need depends on how you want to boot your Bubble node:
* FAT based (Floppy, CF-Card): review SysLinuxBoot to select the right core package;
* CD-ROM based: download BubbleImage:core-images/cdrom-ide and the review [[IsoLinux boot]] page.
* Network based: review [[Network boot]] to select the right core package.
== Packages and Drivers ==
Bubble is is very flexible in its content. You just have to download the packages you want to install. The only limitation is the disk space if you boot from floppy, and the available memory.
A complete list of the available packages and their parameters are available in [[Bubble configuration file]]. Read more about packages in [[Bubble package]].
You will typically use:
* keybbe: Belgian keyboard mapping
* pcmcia: if you need to support pcmcia devices!
* wtools: wireless tools (not needed if you are using a wireless bridge such as the Linksys Wet-11)
* iptables: for the firewalling
* aodv: for the routing
* tinyhttp: a nice to have -- it includes a useful node status page
* ssh: if spaces allows it!
All the packages are located at BubbleImage:packages.
You will have also to download the drivers to support your hardware (wireless card, network card, ...)
<br />There is already a whole bunch of driver packages available on BubbleImage:packages/drivers. If you are missing something, just tell me and I will include it.
<br />Note that the driver packages always includes the dependencies -- you do not need to download them separately. E.g. if you have an Avaya PCMCIA card, the only driver package you need to download is BubbleImage:packages/drivers/orinoco_cs.tbz.
= Review configuration file =
Review your configuration file to match your hardware.
See [[Bubble configuration file]] for detailed explanation.
<br />The template you have downloaded contains more than you usually need. You should just review and check all entries.
For each package tarball (.tbz file), there is always an associated [[Bubble configuration file]] template with the .cfg extension. This template contains the right values for the ''size'' and ''inode'' package parameters.
= Make your boot device =
You have now all the pieces of the puzzle! The last step is to dump everything on your boot device.
Details of the operation depend on your boot device:
* FAT based (Floppy, CF-Card): see [[SysLinux boot]];
* CD-ROM based: see [[IsoLinux boot]];
* Network based: see [[Network boot]].
Note that all files should be placed in the same directory. The exceptions are:
* The [http://syslinux.zytor.com/pxe.php PXELinux] configuration file in case of a [[Network boot]] via PXE;
* [[Network boot]] again, the [[Bubble configuration file]] can be in a separate directory to allow multiple nodes to share the same code;
= Boot your node =
Just boot your node and you are done!
You may want to change the root password if you have enabled ''telnetd''. Once done, copy the encrypted value from ''/etc/passwd'' to your [[Bubble configuration file]].
<br />You can do the same with your ''ssh'' public and private keys.
Enjoy!
[[Category:Bubble]]
Template:Outdated
10
1286
1291
2005-09-22T21:45:29Z
Phil
1
wikitext
text/x-wiki
'''Note''' This page has been moved ''as-is'' from the previous wiki and need to be reviewed!
Linux kernel
0
1287
1292
2005-09-22T22:06:06Z
Phil
1
wikitext
text/x-wiki
= Version =
The [[BuildRoot]] is based on Linux 2.4.31 (V1.99 was 2.4.21)
The kernel is ''tagged'' and linux-2.4.31-bubble
= Patches =
* Orinoco drivers 0.13e
* Orinoco monitor atch
* HostAP
= Configuration =
The size of the kernel will bas as small as possible, optional parts are compiled as modules.
* Loadable module support: yes obviously, but no versionning though
* Processor type and features: 386 with math support (should run on everything)
* General setup:
** no Eisa/MCA support
** Hotplug/PCMCIA support (modules)
** Support only Elf binaries
** Support APM (Otherwhise I cannot shut down my node...)
** No ACPI support
* Memory Technology Devices: '''no support a this time'''
* Parallel port: no support
* Plug and Play: as module
* Block devices: Support floppy (module) & ram disk
* RAID and LVM: no support
* Networking options.
** Packet socket (in case we need ''tcpdump'')
** Netfilter support
** Unix domain socket (do we really need this?)
** TCP/IP Networking ;)
** kernel level autoconfiguration '''not''' selected
** Netfilter configuration: main ones selected (We may want to build the other ones as modules)
** No IPV6
** No ''other protocol''
** No QoS
* Telephony: no support
* ATA/IDE/MFM/RL: module support (for CDROM!)
* Firerwire: no support
* I20: no support
* Network device: Support via modules for:
** Ethernet 10/100
** Wireless
** PCMCIA
* Amateur Radio: no support
* IrDA: no support
* ISDN: no support
* Old CD-ROMS: no support
* Input core: no support
* Character devices
** Virtual terminal & serial console support
** Unix98 PTYs
** No support for other options
* Multimedia: no support
* Filesystems:
** ext2, tmpfs, /proc & /dev/pts
** msdos & iso9660 as module
* Console: Supports for VGA-Text
* Sound: no support
* USB: no support '''(Need to review this for WLAN USB devices)'''
* Bluetooth: no support
* Kernel Hacking: no support
* Library routines: no zlib support
Bubble configuration file
0
1288
1293
2005-09-27T19:31:44Z
Phil
1
wikitext
text/x-wiki
{{Outdated}}
= Objective =
The runtime configuration file will drive the behaviour of the node.
* Configuration of the core
* List and parameters of the additional modules to load
This page describes the structure of the runtime configuration file.
Constraints
* Can be generated by a user interface.
* Must be easily editable with text editor.<br />Which means human readable (not too complex) and flexible in format.
* Must be easily parsed by the node at run time<br />(Limited tools available in [[BusyBox]])
= Syntax =
We use the well-know ''.ini'' syntax:
[section-name]
parameter = value
...
In addition to that, we add some ''pseudo-parameters'' which are mainly used by the UI:
system.help = text Help text for the section
parameter.system = value Same as 'parameter = value', but shown in the UI
parameter.choices = value|value|... List of value for the parameter
parameter.crypt = value The parameter is encrypted
parameter-1.depends = parameter-2=value Parameter-1 is only used when parameter-2 = value
parameter.list = value The parameter is actually a list
(Every occurrence is a new element)
= Example =
See CVS:buildroot/bubble.cfg.distr for the latest [[Bubble configuration file]] distributed
[system]
help.system = Information specific to the build system
version.help = Configuration file version number (do not change)
version.system = 0
isolinux.help = Where is isolinux.bin located?
isolinux.system = /usr/lib/syslinux/isolinux.bin
[kernel]
help.system = Kernel specifics
append.help = Kernel parameters that need to be passed on boot
append =
module.help = Modules to load at start-up
module.list =
[image]
help.system = Information for the core image build
type.help = Image type
type.choices = etherboot|pxe|iso|syslinux
type = etherboot
net_module.help = Modules needed to get network up
net_module.depend = type=etherboot|pxe
net_module.list = 3c59x
iso_module.help = Modules needed to support the cdrom and iso fs
iso_module.depend = type=iso
iso_module.list = iso9660
iso_module.list = ide-cd
iso_device.help = Device where the cdrom is
iso_device.depend = type=iso
iso_device = /dev/hda0
syslinux_module.help = Modules needed to support the floppy and the FAT
syslinux_module.depend = type=syslinux
syslinux_module.list = msdos
syslinux_module.list = floppy
syslinux_device.help = Device where the floppy/CF card is
syslinux_device.depend = type=syslinux
syslinux_device = /dev/fd0
...
= Reference =
This paragraph describes all the parameters, section by section.
== Build Parameters ==
The parameters in the following sections are impacting the '''build''' of the distribution.
<br />They are available at run-time for information, but do not (should not) impact the behaviour of the distribution.
=== [system] ===
Information specific to the host used to build the distribution.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|version||Number||-||Internal parameter used to track the version of the configuration file. Do not change this value
|-
|isolinux||File||-||Location of the [http://syslinux.zytor.com/iso.php SysLinux] ''isolinux.bin'' file on the build system
|}
=== [kernel] ===
Information related to the Linux kernel
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|append||Text||-||Kernel parameters passed on the command line at boot time.<br />Unless you are using [http://www.etherboot.org/ Etherboot], you can always change this parameter after build in the [http://syslinux.zytor.com/iso.php SysLinux] configuration file which is generated.<br />For [http://www.etherboot.org/ Etherboot]however, you will have to regenerate an image.
|-
|module||List of modules||-||List of modules (with their parameters) that need to be packaged in the image and loaded at startup (one module per line).<br />The system tries to be smart and loads the dependencies automatically.
|}
=== [image] ===
What kind of image do we need?
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|type||etherboot|pxe|iso|syslinux||-||Image type:<br />''etherboot'': [http://www.etherboot.org/ Etherboot] image (See [[Network boot]])<br />''pxe'': [[Network boot]] via [http://syslinux.zytor.com/pxe.php PXELinux] <br />''iso'': to generate a bootable ISO9660 CD-ROM Image (using [http://syslinux.zytor.com/iso.php ISOLinux])<br />''syslinux'': image for [http://syslinux.zytor.com/iso.php SysLinux]. Allow to boot from FAT filesystem (Floppy of Compact Flash cards)
|-
|net_module||List of modules||-||For ''etherboot'' and ''pxe'' images, the module(s) needed to support the card
|-
|iso_module||List of modules||-||For ''iso'', the module(s) needed to support the cd-rom and the ISO9660 filesystem
|-
|iso_device||Device||-||For ''iso'', the device to be used to mount the cd-rom (e.g. /dev/hda1)
|-
|syslinux_module||List of modules||-||For ''syslinux'', the module(s) needed to support the floppy drive and the msdos filesystem
|-
|syslinux_device||Device||-||For ''syslinux'', the device to be used to mount the floppy (e.g. /dev/fd0)
|-
|driver||List of modules||-||List of modules for which a driver package need to be build (See [[Bubble package]])<br /> /!\ PCMCIA drivers should never be started (i.e. ''start = no'' package parameter)
|}
/!\ There is no need to generate another image if your boot device (''iso_device'' or ''syslinux_device'') is not the same as the one in the build, you just have to change it in the [http://syslinux.zytor.com/iso.php SysLinux] configuration file
== Runtime Parameters ==
The following parameters have no effect on the build, they are just used at run-time.
=== [node] ===
General configuration of the node
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|Hostname||Text||bubble||Name for the node
|-
|syslog_ip||IP Address||-||By default, logging is done in a shared memory segment and available on the node via the ''logread'' command (circular buffer). If ''syslog_ip'' is set, '''in addition''' the syslog information will be send at that address.
|-
|root||Encrypted password||-||If set, this will be the root password for the node. Otherwise, all accounts are locked and access is only available from the console
|-
|telnetd||yes|no||no||If set to ''yes'', start the telnetd daemon. Although SSH is the preferred option, due to disk space or memory constraint we may consider ''telnet'' as alternative
|-
|keepinitrd||yes|no||no||If set to ''yes'', do not release the Initial RAM Disk at boot time (debugging only)
|}
=== [wireless] ===
Configuration of the wireless device.
Most of the parameters are set automatically to be compliant to [http://reseaucitoyen.be ReseauCitoyen] -- See [[Bubble overview]].
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|interface||none|eth0|eth1|wlan0|...||none||Interface used by the wireless card (or ethernet card when a wireless bridge is used)
|-
|virtual_if||yes|no||no||Enable the creation of an alias on the device to use a second IP in the 172.16i.jk.lm.n0/28 network (non AODV)<br />When this interface is configured, the dhcp server is automatically configured and started for this subnet.
|}
=== [lan] ===
Configuration of the LAN wired device (if any).
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|interface||none|eth0|eth1|...||none||Interface used by an optional ethernet card
|-
|address||dhcp|fixed||-||Address allocation scheme:<br />''dhcp'': network is configure through a DHCP server on the wired network<br />''fixed'': fixed ip. In that case all the following parameters need to be specified
|-
|ip||IP Address||-||For ''fixed'' address: the IP to be used
|-
|broadcast||Broadcast address||-||For ''fixed'' address: the broadcast address to be used
|-
|netmask||Network mask||-||For ''fixed'' address: the network mask to be used
|}
== Packages ==
This section covers all the runtime parameters related to the packages.
<br />See also [[Bubble package]] for more details about the package structure.
=== [packages] ===
General information on the packages
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|size||Number||-||Free space on the RAM Disk after install (in KB)
|-
|inode||Number||-||Free inodes on the RAM Disk after install
|-
|retry||Number||0||Number of retries when fetching a package.<br />By default, the package installer just skips the packages it cannot find.<br />Setting this parameter allows to use a system distributed on multiple floppies: when a package is not found, a console message will request to change media.<br /> /!\ As a consequence, the system will not be able to boot unattended when this parameter is set and a packages are missing...
|-
|package||List of packages||-||List all the packages to consider. To be loaded at runtime, a package must be listed here '''and''' have the ''load'' parameter set to ''yes''!
|}
=== Common parameters for all packages ===
The following parameters are valid for all packages
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|size||Number||-||Disk space used by this package on (RAM) disk (in KB)
|-
|inode||Number||-||Inodes used by this package on (RAM) disk
|-
|load||yes|no||yes||Load this package?
|-
|file||File||''package''.tbz||Filename of the tarball for this package
|-
|retry||Number||''[package] parameter''||Number of retries when fetching a package.<br />This parameter overrides the one at ''[package]'' level and has the same signification.
|-
|install||File||''package''||Name of a script located in /tmp which will be run at install (boot) time
|-
|start||yes|no||yes||If this package is a ''service'', do we need to start it at boot time?
|-
|module_params||Text||-||If this package is a ''Driver Package'', the parameters which will be passed to the module (see [[Bubble package]])
|}
Except for the ''size'' and ''inode'' parameter, you can safely omit all the others, and the package will do what you expect!
=== [keybbe] ===
Configures Belgian keyboard for the console.
No additional parameter.
=== [pcmcia] ===
PCMCIA Support.
<br />This package contains the pcmcia ''cardmanager'' and the core modules.
The ''cardmanager'' is only run once at boot time -- therefore hot plug of device is not supported, this is beyond the scope of Bubble.
/!\ This package only implements the pcmcia core subsystem. This means that no actual card driver is in this package, they must be built separately (via the ''driver'' parameter of the ''[image]'' section). Also, all the packages related to pcmcia drivers cannot be started at package install time (i.e. ''start = no'') as the modules are loaded through the card services.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|pcic||i82365|tcic|yenta-socket||-||pcmcia controller type -- actually the name of the module supporting it<br /> /!\ The pcic module is '''not''' part of the package -- it must be built separately as driver. We are doing this to limit package size
|-
|pcic_opts||Module options||-||Controller options to pass to the module
|}
=== [wtools] ===
Install wireless tools and configure the wireless interface at boot time.
<br />This package is '''not''' needed when you use a wireless bridge (WET-11, ...) as interface.
No additional parameter.
=== [iptables] ===
Provides basic firewalling for the node -- See [[Routing and firewall]] for details.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|port||List of TCP/IP ports||-||List of ''ports'' accepted by the node on the Wireless interface.<br />Typically we allow ssh and www
|-
|mac||List of mac addresses||-||List of ''trusted'' mac addresses for which we accept to ''forward'' to the Wired Lan if present
|-
|script||File name||-||Additional firewall script to run. The script needs to be placed on the distribution media
|}
=== [aodv] ===
Kernel AODV.
AODV will be started on the wireless interface.
No additional parameter.
=== [tinyhttp] ===
Starts the [[BusyBox]] tiny http server.
<br />The features of this server are somewhat limited but it is more than enough to provide a few pages of information.
<br />By default there is a simple home (''index.html'') and a cgi script (''cgi-bin/node_stat'') which gives information about the node.
Additionally content can be added with the ''website'' parameter.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|website||File||-||Name of a file containing the web pages<br />The file '''must be''' a bzipped tarball that will be extracted at the document root of the web server.
|}
=== [openssh] ===
This package bundles zlib, openssl and openssh.
This is the biggest package of the distribution (around 1MB), so if if you are booting from floppy, you will need a separate one for ssh!
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|rsa_key||File||-||Name of a file on the boot medium containing the private RSA key<br />(''/etc/ssh/ssh_host_rsa_key'' file)
|-
|rsa_key_pub||File||-||Name of a file on the boot medium containing the public RSA key<br />(''/etc/ssh/ssh_host_rsa_key.pub'' file)
|-
|dsa_key||File||-||Name of a file on the boot medium containing the private DSA key<br />(''/etc/ssh/ssh_host_dsa_key'' file)
|-
|dsa_key_pub||File||-||Name of a on the boot medium file containing the public DSA key<br />(''/etc/ssh/ssh_host_dsa_key.pub'' file)
|-
|authorized||File||-||Name of a on the boot medium file containing the public key of users who will have root access<br />(''~root/.ssh/authorized_keys'' file)
|}
If you do not provide any key file as parameter, the node will generate the necessary RSA and DSA private/public keys at boot time.
<br />It is strongly recommended to save the generated keys, otherwise you will get new ones after each boot, and clients will usually complain
=== [dropbear] ===
This package bundles zlib and [http://matt.ucc.asn.au/dropbear/dropbear.html Dropbear SSH server].
Dropbear is a small and secure SSH '''server'''. The package footprint is around 140K!
<br />This package does not include a ssh '''client''' -- if you need this, you will have to go for the full featured openssh package.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|rsa_key||File||-||Name of a file on the boot medium containing the private RSA key<br />(''/etc/dropbear/dropbear_rsa_host_key'' file)
|-
|dss_key||File||-||Name of a file on the boot medium containing the private DSS key<br />(''/etc/dropbear/dropbear_dss_host_key'' file)
|-
|authorized||File||-||Name of a on the boot medium file containing the public key of users who will have root access<br />(''~root/.ssh/authorized_keys'' file)
|}
If you do not provide any key file as parameter, the node will generate the necessary RSA and DSS private keys at boot time.
<br />It is strongly recommended to save the generated keys, otherwise you will get new ones after each boot, and clients will usually complain
[[Category:Bubble]]
Bubble package
0
1289
1294
2005-09-27T19:34:58Z
Phil
1
wikitext
text/x-wiki
{{Outdated}}
= About Packages =
In order to keep the ''core'' as small as possible, and to allow flexibility, most of the Bubble components are stored in packages.
<br />Packages may have different purpose:
* Configuration: a few scripts to configure the node (keyboard, ...)
* Drivers: install the drivers needed to run the node (typically Wireless drivers)
* Software: optional packages for the node (ssh, ...)
* ...
We do not need extended package functionality, since the distribution is ''non-persistent'' -- it is re-build at boot time.
<br />We need the following functionality
* ''Install'' files
* Run ''install'' scripts to configure the package
* Have start/stop scripts to manage the ''service''
= Package Structure =
The package is composed of 2 parts
* A configuration file: an ASCII file that everyone can edit to customize the package for a particular node.<br />The format is the same as the [[Bubble configuration file]], and the contents are actually merged.
* A tarball containing the package itself
== Package Naming ==
Since we want to be able to boot from FAT, the package (file) name is limited to 8 characters!
== Package Configuration ==
The package configuration is part of the [[Bubble configuration file]] as a ''section''
It contains:
* The disk space required to install the package (in KB)
* The number of i-nodes required to install the package
* Any other parameter needed to configure the package<br />These options will be made available to the install script.
Examples (See [[Bubble configuration file]] for the full syntax with hints for the user interface)
...
[packages] # Only the packages in the list will be considered
package.list = long # Long form example
package.list = short # Short form example
...
# Long declaration: all the parameters are used
[long]
size = 10 # RamDisk space required to install this package (in KB)
# Default 0
inode = 10 # RamDisk inodes required to install this package
# Default 0
load = yes # Load this package? (to be installed we need to have the
# package in the above list AND load = yes here)
# Default yes
file = long.tbz # Package file name
# Default <package.tbz>
retry = 0 # If the file is not found, how many retries are we doing?
# (Useful in case of floppies, to be able to switch the media)
# Default is 0: Skips package is file is not there
# This parameter overrides the same at [package] level
install = long # Installation script for the package, in /tmp
# Default <package>
start = yes # Start the service at boot time? (if applicable -- nothing is
# actually done, this parameter is just available for the scripts)
# Default yes
# Any other parameter for the use of this package
[short]
# Actually we do not need anything here! using the defaults: no space will be allocated for the package,
# it will be loaded from the short.tbz file,and the default install script /tmp/short will be run if it exists.
At build time, in addition to the tarball, a template for the [[Bubble configuration file]] is generated and contains the right ''size'' and ''inode'' parameters.
During the boot process, for all the packages, a ''/etc/default/<package>'' is created, and all the parameters are defined there as environment variable.
<br />Example:
[hello]
param = Hello World
generates ''/etc/default/hello'' file:
_PARAM="Hello World"
The parameter is capitalized, and an underscore is prepended to minimize environment variable clashes when the file is sourced.
== Package tarball ==
The configuration file is named
'''<package>.tbz'''
and is a ''bzipped'' tarball.
It contains (all parts are optional):
* All the package files (Path relative to root)
* A configure/install script (in /tmp)
* Start/Stop script for the service (System-V like -- See below): /etc/init.d/<package><...>.sh
The ''stop'' part of the script is not very crucial in the light of a diskless node, but can be interesting for
* Manual intervention (stop firewall, ...)
* Nicely release network resources (DHCP lease, ...)
Note that [[BusyBox]] init does not know anything about runlevels, but for the sake of clarity we will use the System-V / Debian convention, assuming the system is running in level 2:
* /etc/init.d as repository for all startup scripts
* /etc/rcS.d for all the scripts run at startup, just after the ''pivot_root''.<br />These are reserved for system initialization tasks, so no package scripts should come here.<br />Naming convention: Snn<script> symlinked to the real script in /etc/init.d
* /etc/rc2.d for all the packages start scripts.<br />Naming convention: Snn<package><...>.sh symlinked to the real script in /etc/init.d
* /etc/rc0.d for all the packages stop scripts.<br />Naming convention: Knn<package><...>.sh symlinked to the real script in /etc/init.d
In the [[BuildRoot]], if the start/stop script contains (similar to the !RedHat chkconfig):
# bubbleconfig: 2 xx yy
links to the Sxx and Kyy will be build automatically (during the fixup phase of the build -- not at runtime!)
= Driver Packages =
A driver package is a package which is build to support some hardware and consists of one or more modules.
These packages can be build automatically by including the name of the module in the [[Bubble configuration file]]. E.g.:
[image]
# ...
driver.list = ewrk3 # DEC EtherWORKS
driver.list = orinoco # Hermes or Prism 2 chipset
driver.list = rt2400 # Realtek 2400 chipset
# ...
In the above example we will generate 3 packages, each of them will contain the base module plus all its dependencies.
Unless ''start = no'' is specified for a particular driver, all drivers will be loaded at the early stage of the boot process. (current implementation: '''all''' drivers are loaded)
All drivers accept a ''module_params'' run time parameter which will be passed to the module. E.g.
[ewrk3]
size = 56
inode = 10
module_params = io=0x300 irq=5
(current implementation: ignored)
= Existing Packages =
See [[Bubble configuration file]] for the list of existing packages and their respective options.
= Links =
''We can group the links somewhere else...''
* [http://www.linuxrouter.org/ Linux Router Project (LRP)] -- no development anymore
* [http://leaf.sourceforge.net/ Linux Embedded Appliance Firewall (LEAF)]: the re-incarnation of [http://www.linuxrouter.org/ LRP]
* [http://www.routerlinux.com/ RouterLinux]: another uClibc/ [[BusyBox]] based GNU/Linux distribution
* ...
[[Category:Bubble]]
BusyBox
0
1290
1295
2005-09-27T19:37:07Z
Phil
1
wikitext
text/x-wiki
{{Outdated}}
= BusyBox Version =
We want to use BusyBox 1.X, but not the daily snapshot to avoid oddities on re-build.
<br />So in the [[BuildRoot]] [[CVS:buildroot/Makefile|Makefile]] we say:
busybox (BR2_PACKAGE_BUSYBOX) [Y/n/?] y
Use the daily snapshot of busybox? (BR2_PACKAGE_BUSYBOX_SNAPSHOT) [N/y/?] n
As of today, we use: '''1.00''', which is the last ''stable'' release.
= BusyBox Configuration =
We should include only ''what we need''.
For the initial phases of development we have included commands that will help debugging...
* General Configuration
*** Buffer allocation on stack
*** Just support Unix98 PTYs
* Build options: Shared, Large file support
* Install: default
* Archival utilities: tar, gzip and bunzip2
* Coreutils: tried to limit utilities -- we can add if something is missing.
* Console utilities: clear, loadkeymap & reset
* Debian utilities: none
* Editors: sed & vi
* Finding utilities: find & grep
* Init utilities:
*** Init support inittab & initrd
*** Halt/poweroff/reboot
* Login/ Password management
*** Do not use internal routines (relies on uClibc)
*** Just need login & passwd
* Misc utilities
*** Strings/Watchdog
* Linux Module Utilities: All utilities, but no option selected
* Networking Utilities:
*** hostname
*** httpd with auth & cgi (reporting interface!)
*** ifconfig
*** ip (used by the fw scripts)
*** ipcalc
*** nc
*** netstat
*** nslookup
*** ping
*** route
*** telnet / telnetd
*** tftp (client)
*** traceroute
*** wget
*** udhcp (client & server)
* Process Utilities
*** free
*** kill
*** pidof
*** ps
*** uptime
* Another Bourne-like Shell: Ash, with most options. No other shell selected
* System Logging Utilities: All selected
* Linux System Utilities
*** dmesg
*** freeramdisk
*** more
*** pivot_root
*** rdate
*** mount/umount (/proc/mounts)
* Debugging Options: no
(!) '''Note''': No IPV6 support. IPV6 was in [[DiskLess]], but the current rollout of [http://reseaucitoyen.be ReseauCitoyen] is IPV4 based.
[[Category:Bubble]]
BuildRoot
0
1291
1296
2005-09-27T19:41:00Z
Phil
1
wikitext
text/x-wiki
{{Outdated}}
The main part of of Bubble is based on the [http://www.uclibc.org/ uClibc/Busybox buildroot].
= Original [[BuildRoot]] =
Since there is no much documentation about it, this pages gives a brief overview on the directory layout.
== Version 1.99 Layout ==
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Path''' ||'''Makefile Variable'''||'''Description'''
|-
|buildroot/ ||BASE_DIR ||Main directory
|-
|....Makefile ||- ||The master makefile!
|-
|....make/ ||- ||All the included makefiles (per package)
|-
|....sources/ ||SOURCE_DIR ||Sources!
|-
|........dl/ ||DL_DIR ||All the downloaded packages are here! (cache)
|-
|........kernel-patches/ ||- ||Patches to apply to the kernel
|-
|........target-skeleton/ ||- ||Skeleton of the target filesystem
|-
|bgcolor="#DDDDFF"|........packages-skeleton/||bgcolor="#DDDDFF"|- ||bgcolor="#DDDDFF"|Skeleton for the packages (See [[Bubble package]])
|-
|bgcolor="#DDDDFF"|............<Package>/ ||bgcolor="#DDDDFF"|- ||bgcolor="#DDDDFF"|Skeleton for a particular packages
|-
|........<Other files> ||- ||All the files needed to configure & build the various packages
|-
|....toolchain_build_i386/ ||TOOL_BUILD_DIR ||Toolchain: gcc/binutils x-compilers
|-
|....build_i386/ ||BUILD_DIR ||The actual build directory
|-
|........root/ ||TARGET_DIR ||The ''root'' of the distribution <br />All packages are installed in this directory
|-
|........staging_dir/ ||STAGING_DIR ||Contains all the libraries/include files, ...<br />All the libraries are installed here, the packages are linked against STAGING_DIR
|-
|........<Components Dirs> ||- ||Directory where each [[BuildRoot]] component is unpacked, configured and build
|-
|bgcolor="#DDDDFF"|........packages/ ||bgcolor="#DDDDFF"|PACKAGE_DIR||bgcolor="#DDDDFF"|Directory where the bubble packages are generated (See [[Bubble package]])
|- bgcolor="#DDDDFF"
|............<Package> ||- ||Directory where each bubble package lives (similar to TARGET_DIR)
|- bgcolor="#DDDDFF"
|............drivers/ ||- ||Directory for the ''drivers'' packages
|-
|....root_fs ||IMAGE ||Image of the root filesystem
|-
|bgcolor="#DDDDFF"|....image/ ||bgcolor="#DDDDFF"|BUBBLE_IMAGE_DIR ||bgcolor="#DDDDFF"|Directory for bootable image and package tarballs
|-
|||||bgcolor="#DDDDFF"|This background color means: bubble addition to the original [[BuildRoot]]
|}
== Bubble 2.x layout ==
The [[BuildRoot]] directory structure has been reviewed in Oct-04, so we changed Bubble as well!
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Path''' ||'''Makefile Variable'''||'''Description'''
|-
|buildroot/ ||BASE_DIR ||Main directory
|-
|....Makefile ||- ||The master makefile!
|-
|....Config.in ||- ||The master configuration file
|-
|....toolchain/ ||- ||All the stuff needed to build the toolchain (makefiles & config)
|-
|....toolchain_build_i386/ ||TOOL_BUILD_DIR ||Toolchain built: gcc/binutils x-compilers
|-
|....package/ ||- ||All the stuff needed to build the ''packages'' (makefiles & config)
|-
|........<package>/ ||- ||All the stuff needed to build a single package
|-
|............<package>/Config.in ||- ||Package configuration
|-
|............<package>/<package>.mk||- ||Package makefile
|-
|............<package>/... ||- ||Patch file, ... (whatever is needed to build this package)
|-
|bgcolor="#DDDDFF"|............<package>/<Bubble>||bgcolor="#DDDDFF"|- ||bgcolor="#DDDDFF"|For each package we want to build as a Bubble package, we make some changes here -- See [[Bubble package]] for details
|-
|........linux/kernel-patches/ ||- ||Package Linux: Patches to apply to the kernel
|-
|....target/ ||- ||All the stuff needed to build the final ''target'' (makefiles & config)
|-
|........default/target-skeleton/ ||- ||Skeleton of the target filesystem
|-
|....dl/ ||DL_DIR ||All the downloaded packages are here! (cache)
|-
|....build_i386/ ||BUILD_DIR ||The actual build directory
|-
|........root/ ||TARGET_DIR ||The ''root'' of the distribution <br />All packages are installed in this directory
|-
|........staging_dir/ ||STAGING_DIR ||Contains all the libraries/include files, ...<br />All the libraries are installed here, the packages are linked against STAGING_DIR
|-
|........<Components Dirs> ||- ||Directory where each [[BuildRoot]] component is unpacked, configured and built
|- bgcolor="#DDDDFF"
|........bubble/||BUBBLE_DIR ||Workspace where the Bubble packages are packaged
|- bgcolor="#DDDDFF"
|............<Package Dir>||- ||Directory where each Bubble package is ''prepared''
|- bgcolor="#DDDDFF"
|............<Package>.bbl||- ||Bubble package
|-
|....root_fs ||IMAGE ||Image of the root filesystem
|-
|||||bgcolor="#DDDDFF"|This background color means: bubble addition to the original [[BuildRoot]]
|}
/!\ Still need to define target location for images & drivers...
= Bubble [[BuildRoot]] =
We have here 2 objectives:
1. Cleanup of the ''core'': the initial root_fs should be as small as possible. <br />The problem is that the kernel will install by default all the compiled modules while we need a limited selection.<br />Therefore we install the modules in the STAGING_DIR and copy what we need in the TARGET_DIR afterwards.
1. Modularity: we need to be able to generate separate packages for all the non-core modules (e.g. ssh, ...).<br />Approach: ''install'' each package in a separate directory under PACKAGE_DIR (1.99) BUBBLE_DIR (2.x).
= Makefile targets =
== Bubble 1.99 ==
make:: Build the whole stuff!<br />Core is generated in TARGET_DIR, packages in PACKAGE_DIR.<br />The bootable image and the package tarballs are copied in the BUBBLE_IMAGE_DIR directory (based on the [[Bubble configuration file]])
make rootclean:: Cleanup TARGET_DIR
make packageclean:: Cleanup PACKAGE_DIR
make bubbleclean:: Cleanup TARGET_DIR and PACKAGE_DIR
The first time we just need to do '''''make''''', after modification to the buildroot, it is recommended to run '''''make bubbleclean && make'''''
== Bubble 2.x ==
make:: Build the core (root FS)
make packages:: Build all the packages
/!\ Work in progress
[[Category:Bubble]]
Network boot
0
1292
1297
2005-09-27T19:46:54Z
Phil
1
wikitext
text/x-wiki
{{Outdated}}
= Booting from the Network =
Booting from the Network is not always trivial.
There should be no problem when:
* Your computer BIOS supports [[Network boot]] directly through DHCP/BootP (older systems);
* Your computer BIOS supports [[Network boot]] directly through PXE boot (most recent computers);
* You have a network card with a ''boot ROM'' that can boot through one of the above methods.
If this is not your case, keep reading! [http://www.etherboot.org/ Etherboot] will allow you to boot from the network using BootP/DHCP/PXE on virtually any computer.
With [http://www.etherboot.org/ Etherboot] you can:
* Generate the code needed by a ''boot ROM'' for your network card (Nice, but you probably do not have the hardware to flash EPROMSs, so read on ;) )
* Add a ''module'' in your BIOS to support network booting (I have done this, it is working very well, but playing with the BIOS is still a risky operation)
* Last but not least, if you have a a boot device attached to your computer (a floppy drive or a CD-ROM), you can generate a boot disk.
Note that you do not have to install the [http://www.etherboot.org/ Etherboot] software to generate a boot image, you can use the excellent [http://rom-o-matic.net/ ROM-o-matic] to generate images online.
= Bubble =
Here are the key Bubble parameters when you want to boot from the network:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Section'''||'''Parameter'''||'''Value'''||'''Description'''
|-
|[image]||type||etherboot|pxe||Image type will be [http://www.etherboot.org/ Etherboot] or [http://syslinux.zytor.com/pxe.php PXELinux]
|-
|[image]||net_module.list||e.g. 3c59x||The module(s) you need to get your network up (including module parameters)
|}
For pre-build images, we need unfortunately one image per network card type!
<br />A selection of popular cards is available on BubbleImage:core-images. If your card is not not in the list, contact me for inclusion.
= DHCP Server =
We will need a BootP/DHCP server on the local network
Here is an example which show how to configure ISC dhcpd 3.0:
# Etherboot Client Example
host wifi-nc {
hardware ethernet 00:00:e8:42:8c:1e; # Mac address of the node
fixed-address wifi-nc.bulles-dsl; # Assigned IP (DNS will resolve the name)
server-name "bulles-nc.bulles-dsl"; # Name of the DHCP server
option tftp-server-name "amedee"; # Name of the TFTP server (can be another host as shown here)
next-server amedee.bulles-dsl; # Address of the TFTP server
filename "/root_fs.etherboot"; # Name of the boot image (generated by Bubble -- mknbi format)
}
# PXE boot Client Example:
host pvanhaes {
hardware ethernet 00:00:39:be:c6:87; # Everything is identical...
fixed-address pvanhaes.bulles-dsl;
server-name "bulles-nc.bulles-dsl";
option tftp-server-name "amedee";
next-server amedee.bulles-dsl;
filename "/pxelinux.0"; # But we load instead the generic boot file from PXELinux
# The PXE configuration file and the images are generated by Bubble
}
= TFTP =
Once the IP address has been allocated by BootP/DHCP, the kernel image and the root filesystem are loaded using TFTP.
/!\ If your node is using the PXE protocol, be aware that [http://syslinux.zytor.com/pxe.php PXELinux] needs some TFTP features that are not available on all servers (''tsize'' option).
<br />We strongly recommend the use of the ''tftp-hpa'' server.
<br />Debian: ''apt-get install tftpd-hpa''
Configuring TFTP is very simple. You just need:
`tftp dgram udp wait root /usr/sbin/in.tftpd tftpd -v -s /tftpboot`
in /etc/inetd.conf (/tftpboot is the directory which will contains the boot images).
= Other files =
Once the [[Linux kernel]] has been loaded, the ''core'' system will need to access the [[Bubble configuration file]] and the files containing the different packages.
To allow several nodes on sharing the same code, but with different configurations, the [[Bubble configuration file]] is searched a subdirectory (relative to the kernel) with the same name as its own IP in hexadecimal.
<br />If the [[Bubble configuration file]] is not shown there, the path is shorten by 1 digit
<br />To make it clear, here is what happens:
Sep 16 21:49:47 bulles-nc tftpd[22760]: RRQ from 192.168.1.24 filename /bubble.etherboot
Sep 16 21:49:53 bulles-nc tftpd[22761]: RRQ from 192.168.1.24 filename /C0A80118/bubble.cfg
Sep 16 21:49:53 bulles-nc tftpd[22762]: RRQ from 192.168.1.24 filename /C0A8011/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22763]: RRQ from 192.168.1.24 filename /C0A801/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22764]: RRQ from 192.168.1.24 filename /C0A80/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22765]: RRQ from 192.168.1.24 filename /C0A8/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22766]: RRQ from 192.168.1.24 filename /C0A/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22767]: RRQ from 192.168.1.24 filename /C0/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22768]: RRQ from 192.168.1.24 filename /C/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22769]: RRQ from 192.168.1.24 filename //bubble.cfg
The [http://www.etherboot.org/ Etherboot] image is loaded, then the [[Bubble configuration file]] is searched, prepending !C0A80118 (192.168.1.24 in hexadecimal) to the path, shortening until the file is found.
<br />(I took the idea from PXELinux which is doing something very similar...)
All the other files (the packages) are looked in the directory of the initial image, allowing packages to be shared.
Package location can be orverwritten in the [[Bubble configuration file]].
[[Category:Bubble]]
SysLinux boot
0
1293
1298
2005-09-27T19:48:35Z
Phil
1
wikitext
text/x-wiki
{{Outdated}}
= Booting from FAT filesystem =
[http://syslinux.zytor.com/faq.php SysLinux] is a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem.
<br />It allows bubble to boot from any FAT device:
* A floppy disk -- Probably the easiest way to start a bubble node. A single floppy is enough to run a full featured node. However if you want to run ''ssh'' or other ''big'' package, you will need more than one floppy, and your node will not be able to boot unattended anymore.
* A Compact Flash card -- If you have an IDE/CF-Card adapter, just grab an old 2 or 4MB CF-Card and your are ready!
* A hard disk -- may not be very useful, but why not...
= Bubble =
Here are the key Bubble parameters when you want to boot from FAT filesystem:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Section'''||'''Parameter'''||'''Value'''||'''Description'''
|-
|[image]||type||syslinux||Image type will be [http://syslinux.zytor.com/faq.php SysLinux]
|-
|[image]||syslinux_module.list||e.g. msdos, floppy||The modules you need to access the device (''floppy'' in the example), and to support the FAT filesystem
|-
|[image]||syslinux_device||e.g. /dev/fd0||The device used used to mount the filesystem.<br /> /!\ Although this is a ''build-time'' parameter, you can always change the boot device in the [http://syslinux.zytor.com/faq.php SysLinux] configuration file (SYSLINUX.CFG) -- there is no need to regenerate an image
|-
|[packages] or in any package section||retry||n||Instruct the package installer to retry ''n'' times when installing a package (any package if the directive is set at [package] level). This allows floppy swap.
|}
= Common Cases =
The main advantage of booting from floppy is that you should be able to use the ready-made images!
== Standard floppy ==
The easiest case, the ''standard'' floppy (SA-400 interface).
You will have the following in your [[Bubble configuration file]]:
[image]
type = syslinux
syslinux_module.list = msdos
syslinux_module.list = floppy
syslinux_device = /dev/fd0
Pre-build image is available in the BubbleImage:core-images/floppy directory.
== USB floppy ==
Linux is supporting USB floppy through the sd SCSI driver.
You will have the following in your [[Bubble configuration file]]:
[image]
type = syslinux
syslinux_module.list = msdos
syslinux_module.list = sd_mod
syslinux_module.list = usb-storage
syslinux_module.list = usb-uhci # or usb-ohci
syslinux_device = /dev/sda
Pre-build image is available in the BubbleImage:core-images/floppy-usb-uhci or BubbleImage:core-images/floppy-usb-ohci directory.
== Compact Flash Card ==
<!> This has not been tested yet
The Compact Flash device is access through an IDE adpter, therefore Bubble just see it as an IDE hard disk.
You will have the following in your [[Bubble configuration file]]:
[image]
type = syslinux
syslinux_module.list = msdos
syslinux_module.list = ide-disk
syslinux_device = /dev/hda
Pre-build image is not yet available...
= How to make a Bootable Floppy =
You will need a system running Linux or DOS, and have [http://syslinux.zytor.com/faq.php SysLinux] installed on it.
Here is an example on how make a bootable floppy under Linux
# fdformat /dev/fd0 # Low level format
# mformat a: # Build ms-dos filesystem
# syslinux /dev/fd0 # Make floppy bootable using syslinux
# mount -t msdos /dev/fd0 /mnt # Mount the filesystem
# cp bubble.cfg bubble.syslinux/* packages/keybbe.tbz packages/wtools.tbz ... /mnt
# # Copy all files to floppy
# umount /mnt
Or under MS-DOS:
c:> format a:
c:> syslinux a:
c:> copy .... a:
(!) A 1.44MB floppy should be sufficient for the main Bubble packages (ssh is just too big!). Should you run out of space, it is very easy to format a floppy with 21 sectors and 83 tracks, giving a total of 1743KB on a 1.44MB floppy. However your hardware need to be able to boot from such a floppy (It is not a problem at all on my old Pentium, but USB floppy drive will not support this).
<br />On Linux, just use /dev/fd0h1743 instead of /dev/fd0 in the example above. For the DOS/Wintel world, I found a couple of ''sharewares'' to do the job, and also some free utilities
* [http://toastytech.com/files/nformat.html NFormat]
* FDFormat 1.8 from Christoph. H. Hochstätter (No official pages, but widely available on the web)
[[Category:Bubble]]
Routing and firewall
0
1294
1299
2005-09-27T19:53:12Z
Phil
1
wikitext
text/x-wiki
{{Outdated}}
= Rules =
http://bulles.topgame.be/ReseauCitoyen/bubble_01.png
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
||| ||||||||To
|-
||| ||Node||10.0.0.0/8 subnet (AODV)||172.1x.xx.x0/28 (DHCP)||Wired interface
|-
|<|4>From||Node||||||||bgcolor="#ddffdd"|No restriction
|-
|10.0.0.0/8 subnet (AODV)||bgcolor="#ddffdd"|ICMP/SSH/HTTP||bgcolor="#ddffdd"|No restriction||bgcolor="#ffddff"|Blocked||bgcolor="#ffddff"|Blocked by default [[[[Foot Note]](Access can be given with additional rules)]]
|-
|172.1x.xx.x0/28 (DHCP)||bgcolor="#ddffdd"|ICMP/SSH/HTTP||bgcolor="#ddffdd"|No restriction (Masquerade)||bgcolor="#ffcc99"|N/A||bgcolor="#ffddff"|Blocked by default [[[[Foot Note]](Access can be given with additional rules)]]
|-
|Wired interface||bgcolor="#ddffdd"|No restriction||||bgcolor="#ddffdd"|No restriction (Masquerade)||bgcolor="#ffcc99"|N/A
|}
= [[DiskLess]] =
Notes about the testing done on the [[DiskLess]] scripts ([http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/[[DiskLess]]/add-ons/sources/bulles_skeleton/etc/init.d/rc.firewall.sh?rev=HEAD&content-type=text/vnd.viewcvs-markup View Script])
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
||| ||||||||To
|-
||| ||Node||10.0.0.0/8 subnet (AODV)||172.1x.xx.x0/28 (DHCP)||Wired interface
|-
|<|4>From||Node||||||||bgcolor="#ddffdd"|OK
|-
|10.0.0.0/8 subnet (AODV)||bgcolor="#ddffdd"|OK (AODV works as expected)||bgcolor="#ff5555"|Not tested||bgcolor="#ff5555"|Not tested||bgcolor="#ffddff"|OK[[[[Foot Note]](Also tested when the gateways is 'open'; additional FORWARD rule:"$IPTABLES -I FORWARD -i $WIFI_IF -o $LAN_IF -m mac --mac-source 00:02:2D:29:91:6B -j ACCEPT" -- not masqueraded)]]
|-
|172.1x.xx.x0/28 (DHCP)||bgcolor="#ddffdd"|OK (DHCP Allocates address as expected)<br />fixed in [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/[[DiskLess]]/add-ons/sources/bulles_skeleton/etc/init.d/rc.firewall.sh?rev=HEAD&content-type=text/vnd.viewcvs-markup rc.firewall.sh 1.5]||bgcolor="#ff5555"|Not tested||bgcolor="#ffcc99"|N/A||bgcolor="#ffddff"|OK[[[[Foot Note]](Same as above)]]
|-
|Wired interface||bgcolor="#ddffdd"|OK||||bgcolor="#ddffdd"|OK (Masquerade works)||bgcolor="#ffcc99"|N/A
|}
[[Category:Bubble]]
RC-1000
0
1295
1300
2005-09-27T20:00:35Z
Phil
1
wikitext
text/x-wiki
= RC-1000: ReseauCitoyen on RG-1000 =
Attempt to run a RC node on a RG-1000 AP.
= Plan =
Use my favorite [[BuildRoot]] to have a core linux running and expand from there
= Roadmap =
* Setup CVS ([http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/RC-1000/ View])
* Retrofit essential [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann]'s patches into 2.4 kernel
* Refine base environment
* Get wireless running
* Get AODV running
= To Do =
* All done!<br />Add you wishes here...
= Notes =
# [[Rg Flash]]: Flash you RG-1000 to allow Network Boot (via [http://www.etherboot.org Etherboot])
# [[Rg Kernel]]: Linux kernel patches for RG-1000 Support
# [[Rg Install]]: How to run the RC-1000 project on you RG-1000
# [[Question fréquentes]]
= Links =
* http://www.seattlewireless.net/index.cgi/OrinocoRg1000
* http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html
* http://www.amd.com/epd/processors/4.32bitcont/13.lan4xxfam/22.lansc400/
= LogBook =
* 31-Oct-04
** Distribution completely re-packaged based on IPKG
** Includes new packages (kismet, dropbear)
* 09-Oct-04
** Integrated experimental iptables based AODV
** CVS updated and package released <br />Note that the AODV hack is for the time being out of the RC-1000 CVS tree, but available in a separate [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/aodv-uu-ipt project tree]
* 20-Aug-04
** Upgrade AODV-UU to 0.8.1; added start/stop script
** Upgrade Unik-OLSR to 0.4.5; standard config file; no start/stop script
** CVS updated and package released
* 19-Aug-04
** Added [http://hostap.epitest.fi/ HostAP] 0.2.4 support
** Channel changed to '1'
** Set the clock at boot time
** CVS Updated for the above changes
** Package not released (need to update AODV / OLSR)
* 19-Apr-04
** Experimental: NFS Swap
** Experimental: OLSR (From http://olsr.org/ )
** Package released, but CVS not updated (need to take time to document and cleanup)
* 27-Mar-04
** AODV-UU 0.8 compiled. It runs, but not further tests done
** Package released, but CVS not updated
* 26-Mar-04
** Added ''login'' and ''password'', CVS updated and new package released...
* 25-Mar-04
** Added iptables, tiny http
** Minor fixes
** Commit all changes in CVS
** New package released
* 21-Mar-04:
** Cleanup Wiki
** Commit wtools in CVS
* 20-Mar-04:
** Workaround Lance problems by using shorts timeouts in [http://www.etherboot.org Etherboot]
** Major cleanup -- commit all in CVS
** Rebuild from scratch for testing purpose -- Everything looks good.
* 07-Mar-04:
** Linux kernel 2.4 runs now -- fixed problem in idle loop
** LEDs are working
** Orinoco drivers running as well!
* 15-Feb-04:
** [http://www.etherboot.org Etherboot] 5.2 eventually works (as long as we cold boot after a re-flash!)
* 25-Jan-04:
** Create this page
** Gather documentation
[[Category:RC-1000]]
Category:RC-1000
14
1296
1301
2005-09-27T20:00:51Z
Phil
1
wikitext
text/x-wiki
Attempt to run a RC node on a RG-1000 AP...
Rg Flash
0
1297
1302
2005-09-27T20:03:38Z
Phil
1
wikitext
text/x-wiki
[[Category:RC-1000]]
= Introduction =
[http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann] has made a very good work to allow to run [http://www.etherboot.org Etherboot] from the RG-1000.
The nice thing is that the code is prepended to the original firmware, and Till's ''initial loader'' allows you to choose between [http://www.etherboot.org Etherboot] and the original firmware.
Although Till's work could be used ''as is'', I have ported the changes to [http://www.etherboot.org Etherboot] 5.2.3 (from 5.0.0), and dropped the features I was not using (mainly the possibility to [http://www.etherboot.org Etherboot] wireless).
http://www.plasma-online.de/index.html?content=http%3A//www.plasma-online.de/english/upgrade/tweak/fixes/fix_apple_airport.html
= Initial Loader =
No particular issue here, I just made minor modifications:
* Makefile and directory structure changed.
*** We try do download the !KarlBridge firmware directly from Internet
*** Directory layout changed (''bin'' and ''firmware'' are ignored by CVS, which makes things easier)
* The loader accept lowercase characters (I was tired to press the ''shift'' key)
* The NVRAM data is not extracted anymore at this place -- we are not using it anyway
= Etherboot =
The porting to [http://www.etherboot.org Etherboot] 5.2 has been a major headache...
<br />The RG-1000 crashed at the very beginning. It took me at least a week to understand where it crashed (enabling interrupts in real mode), and more than a week to try to fix it until I realized that Till's original version did not work either under the same circumstances!
/!\ '''After flashing the firmware, the RG-1000 must be powered off!'''
The original !KarlBridge firmware does not seem to have a problem with that, but [http://www.etherboot.org Etherboot] will definitely not run after a firmware upgrade until the RG-1000 is powered off.
<br />I should have know, it is stated in Till's pages...
The main changes to the ''stock'' [http://www.etherboot.org Etherboot] are:
* Configuration files
* Patches to the Lance network driver
[http://www.etherboot.org Etherboot] 5.2 is running 'as good as' 5.0 -- what I mean by that is not always initialized properly after a cold boot; but works after a reset.
<br />This needs further investigations.
Compared to the original changes made by [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till], I have dropped significant part of his code:
* Support for booting from the wireless device. <br />Although it looks attractive, we would need to have anyway another node in the area which accepts non-AODV requests. This can be a nice-to-have, but out-of-scope at this time...
* Checksum on packet received. <br />This is mainly useful when you boot wireless.
* Handling of the NVRAM data (not) saved by the loader
[[Anchor(Flash)]]
= Flashing the RG-1000 =
You need:
* A client tool to upload the new firmware. <br />I am using the java-based [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] (GPL). <br />All the screenshots from this page are based on this tool. <br /> /!\ If the home page of the ''RG-1000 Configurator'' is not accessible, you can download it from [http://reseaucitoyen.be/diskless/rc1000/ here].
* The new firmware, which is a bundle: ''Initial Loader''/[http://www.etherboot.org Etherboot]/!KarlBridge <br />It is included in the ''RC-1000'' [http://reseaucitoyen.be/diskless/rc1000/ distribution package].
Several cases are possible, depending on the initial state of your RG-1000.
== Original Orinoco Firmware ==
I have no clue on what the original firmware is, I never tried it!
If the hardware of the RG-1000 is the same as the Apple Airport, it does not seem that they are using the same firmware.
As far as I know, the only way to flash the RG-1000 with a custom firmware is to use the [[#ForcedReload forced reload]] procedure as described hereunder.
As illustrated here, you can use the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] to ''talk'' to the RG-1000, '''but you will not be able to flash it''': the flash procedure works, but at the end, you still have the original firmware. It looks like it does not want to flash a non-Orinoco firmware...
# Start the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] <br />http://reseaucitoyen.be/albums/rg1000/aau.png
# Select ''Discover Devices'' (I have a DHCP server in my network) <br />http://reseaucitoyen.be/albums/rg1000/aav.png <br />Note the 6 hex digits numbers at the end of the ''Device Name'' line (059c62 here): this is the ''Id'' of your RG-1000. It is also printed out on the labels that are under and behind the device. It is actually the initial '''password''' (Community Name) and by the way the last 3 bytes of the mac address of the wireless card (the ones we are using to set the IP :-? ). <br />Thanks to [[RC/PhilippeTeuwen|PhilT]] for this information.
# On the main page you can then enter the IP and password you ''discovered'' and ''retrieve configuration''<br />http://reseaucitoyen.be/albums/rg1000/aaw.png
# That's it! as said above, you will not be able to flash the RG-1000 from here, so it is it is time to say goodbye to the original firmware and proceed to the next section: the [[#ForcedReload forced reload]] procedure
[[Anchor(ForcedReload)]]
== Forced Reload Procedure ==
You will have to use this procedure if for whatever reason your firmware is dead (uploaded bad firmware) or if you have the original Orinoco firmware on your RG-1000.
# Power off your RG-1000
# Press the ''Force Reload'' button '''and keep it pressed'''<br />http://reseaucitoyen.be/albums/rg1000/aag.sized.jpg
# Power the device on
# Wait until the ''Power'' LED turns orange, all others off
# Release the the ''Force Reload'' button
# Start the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] <br />http://reseaucitoyen.be/albums/rg1000/aau.png
# Select ''Discover Devices'' <br />http://reseaucitoyen.be/albums/rg1000/aba.png <br />Note that the output is not the same as before (a.o. DHCP is not used).
# To be able to upload the new firmware, you will have to be in the '''same subnet'''!<br />At this time, reconfigure your interface. On Linux, you can do that very easily by adding a ''virtual'' interface:<br />
# ifconfig eth0:1 153.69.254.1 up
# Enter the IP address of the RG-1000 (153.69.254.254) and the password (use '''public''') in the configurator
# From the ''File'' menu, select ''Upload new base station firmware'' <br />http://reseaucitoyen.be/albums/rg1000/abb.png
# Select the new firmware <br />http://reseaucitoyen.be/albums/rg1000/abc.png
# Select Upload firmware with default settings <br />http://reseaucitoyen.be/albums/rg1000/abd.png
# The RG-1000 will reboot <br />http://reseaucitoyen.be/albums/rg1000/abe.png
# At this stage, do not forget to '''power-off''' the device or the customized firmware will not work (crash in [http://www.etherboot.org Etherboot])
/!\ Note that by default, the RC-1000 customized firmware boots by default with [http://www.etherboot.org Etherboot] and does '''not''' load !KarlBridge. If you still want to load !KarlBridge, you have to disconnect the network cable at boot time.
== KarlBridge Firmware ==
Once you have the !KarlBridge firmware running (either the pristine !KarlBridge or the RC-1000 customized) you can very easily flash new firmwares -- just use the java-based [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] without any special trick.
Rg Kernel
0
1298
1303
2005-09-27T20:06:06Z
Phil
1
wikitext
text/x-wiki
= Summary =
We are using [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann's kernel patches] to support the RG-1000.
They have been developed for the Linux 2.2 kernel, and I have ''ported'' them to the 2.4 series.
All the kernel changes are ''protected'' by the '''CONFIG_RC_1000''' ''define'' which is a selectable option of the '''ELAN''' machine type.
These are the main categories of patches:
= Modem Console support =
The only way to have console output is to use the modem port.
<br />This set of patches ensure that all console output is re-directed to the modem port.
Of course, the ''serial console'' need to be selected during the kernel build.
{i} '''Status''': {OK} no problem.
= RG-1000 LED's handling =
Driver to handle the RG-1000 LED's.
<br />It is used by the other drivers, and provide a fancy user-mode interface through devices. Device ''major'' is '''100'''; ''minors'' are in the table below.
As opposed to the Airport, the RG-1000 has 8 LED's.
http://reseaucitoyen.be/albums/rg1000/aaf.sized.jpg
From top to bottom, we have:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|Description [[[[Foot Note]](Original usage of the LEDs)]]||Symbol ||Minor Green||Minor Red
|-
|Power ||o- ||0 ||1
|-
|Wireless ||~ ||2 ||3
|-
|Ethernet ||o---o ||4 ||5
|-
|Modem || |---| ||6 ||7
|}
{i} '''Status''': {OK} no problem.
= LAN support =
Driver to handle the network chip
Minor patches to ''driver/net/lance.c''
{i} '''Status''': {OK} no problem.
= WLAN support =
Driver to handle wireless card
This is a bit more complex: the RG-1000 as a PCMCIA bridge which is compatible with a i82365. But we do not want to load the whole PCMCIA/cardmgr stuff.
So we have an additional driver -- ''driver/net/wireless/orinoco_rc1000.c'' -- which works like the PLX support (''orinoco_plx.c''): we initialize the PCMCIA bridge, setup the card and pass the control to the original Orinoco drivers.
{i} '''Status''': {OK} no problem.
= PPPOX support =
Support for PPPOX
{i} '''Status''': {X} No plan -- not in the scope of the project
= Idle Loop =
Although I did not find any references of this on the web, my RG-1000 crashes as soon it enters the idle loop.
I took me a long time to debug this, but the problem can be easily solved by booting with the ''no-hlt'' command-line parameter.
[[Category:RC-1000]]
1332
1303
2005-09-27T22:08:00Z
Phil
1
/* RG-1000 LED's handling */
wikitext
text/x-wiki
= Summary =
We are using [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann's kernel patches] to support the RG-1000.
They have been developed for the Linux 2.2 kernel, and I have ''ported'' them to the 2.4 series.
All the kernel changes are ''protected'' by the '''CONFIG_RC_1000''' ''define'' which is a selectable option of the '''ELAN''' machine type.
These are the main categories of patches:
= Modem Console support =
The only way to have console output is to use the modem port.
<br />This set of patches ensure that all console output is re-directed to the modem port.
Of course, the ''serial console'' need to be selected during the kernel build.
{i} '''Status''': {OK} no problem.
= RG-1000 LED's handling =
Driver to handle the RG-1000 LED's.
<br />It is used by the other drivers, and provide a fancy user-mode interface through devices. Device ''major'' is '''100'''; ''minors'' are in the table below.
As opposed to the Airport, the RG-1000 has 8 LED's.
http://reseaucitoyen.be/albums/rg1000/aaf.sized.jpg
From top to bottom, we have:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|Description (Original usage of the LEDs)||Symbol ||Minor Green||Minor Red
|-
|Power ||o- ||0 ||1
|-
|Wireless ||~ ||2 ||3
|-
|Ethernet ||o---o ||4 ||5
|-
|Modem || |---| ||6 ||7
|}
{i} '''Status''': {OK} no problem.
= LAN support =
Driver to handle the network chip
Minor patches to ''driver/net/lance.c''
{i} '''Status''': {OK} no problem.
= WLAN support =
Driver to handle wireless card
This is a bit more complex: the RG-1000 as a PCMCIA bridge which is compatible with a i82365. But we do not want to load the whole PCMCIA/cardmgr stuff.
So we have an additional driver -- ''driver/net/wireless/orinoco_rc1000.c'' -- which works like the PLX support (''orinoco_plx.c''): we initialize the PCMCIA bridge, setup the card and pass the control to the original Orinoco drivers.
{i} '''Status''': {OK} no problem.
= PPPOX support =
Support for PPPOX
{i} '''Status''': {X} No plan -- not in the scope of the project
= Idle Loop =
Although I did not find any references of this on the web, my RG-1000 crashes as soon it enters the idle loop.
I took me a long time to debug this, but the problem can be easily solved by booting with the ''no-hlt'' command-line parameter.
[[Category:RC-1000]]
Rg Install
0
1299
1304
2005-09-27T20:29:15Z
Phil
1
wikitext
text/x-wiki
= Requirements =
* RG-1000 device :-?
* TFTP Server
* NFS Server
* DHCP Server
* RC-1000 [http://reseaucitoyen.be ReseauCitoyen] distribution. <br />[http://reseaucitoyen.be/diskless/rc1000/ Download the latest build] <br />It contains 3 files:
** '''''firmware-rc1000.img''''': RG-1000 firware image (!KarlBridge) with [http://www.etherboot.org Etherboot]
** '''''kernel-rc1000.nbi''''': Linux kernel 2.4 in Network Bootable Image format
** '''''root-fs-rc1000.tbz''''': Root filesystem bzipped tarball
= Flash the new RG-1000 Firmware =
First, you need to re-flash your RG-1000 with the '''''firmware-rc1000.img''''' firmware
See the [[Rg Flash]] for more details
= Upgrade the Orinoco card Firmware =
The RG-1000 contains an Orinoco card with a relatively old firmware.
<br />Although not mandatory, I '''strongly''' recommend to upgrade the firmware of the card.
You will have to open your RG-1000 (See [http://reseaucitoyen.be/gallery/view_album.php?set_albumName=rg1000 pictures])
<br />Follow these [[RC:OrinocoSilver|instructions]]
= TFTP Server =
We strongly recommend the use of the ''tftp-hpa'' server.
<br />Debian: ''apt-get install tftpd-hpa''
Configuring TFTP is very simple. You just need:
tftp dgram udp wait root /usr/sbin/in.tftpd tftpd -v -s /tftpboot
in /etc/inetd.conf (/tftpboot is the directory which will contains the boot images).
<br />Do not forget to restart inetd after chanfing /etc/inetd.conf:
/etc/init.d/inetd reload
Copy the firmware into your /tftpboot directory.
<br />E.g.:
mkdir /tftpboot/rc1000
cp kernel-rc1000.nbi /tftpboot/rc1000
= NFS Server =
Debian: ''apt-get install nfs-kernel-server''
<br />or the user-mode version: ''apt-get install nfs-user-server''
Unpack the root image somewhere on your NFS Server.
<br />This '''must''' be done as '''''root''''' to preserve the devices et permissions!
<br />E.g.:
mkdir /home/rc1000
tar xjf root-fs-rc1000.tbz -C /home/rc1000
Export the directory: add a line in ''/etc/exports''.
<br />E.g.:
/home/rc1000 192.168.1.0/24(rw,no_root_squash,sync)
The ''no_root_squash'' option is important to grant full root access to the client. You may want to restrict the address to the single address of the RG-1000
Finally, activate the export (for the kernel-mode version):
exportfs -a
= DHCP Server =
We will need a BootP/DHCP server on the local network
<br />Debian (ISC dhcpd 3.0): ''apt-get install dhcp3-server''
Here is an example which show how to configure ISC dhcpd 3.0 (extract of /etc/dhcp3/dhcpd.conf):
subnet 192.168.1.0 netmask 255.255.255.0 {
# Other declarations...
# Etherboot Client Example
host rc1000 {
option host-name "rc1000"; # Hostname
hardware ethernet 00:02:2d:15:2a:af; # Mac address of the node
fixed-address rc1000.bulles-dsl; # Assigned IP (DNS will resolve the name)
server-name "bulles-nc.bulles-dsl"; # Name of the DHCP server
option tftp-server-name "bulles-nc"; # Name of the TFTP server (can be another host than the DHCP server)
next-server bulles-nc.bulles-dsl; # Address of the TFTP server
filename "/rc1000/kernel-rc1000.nbi"; # Name of the kernel image (NBI format)
option root-path "192.168.1.19:/home/rc1000"; # Address of the NFS Server and the directory containing the root image
}
}
= Boot your RG-1000 =
Let the magic happen!
/!\ '''Note''': The very first boot takes some time, mainly due to the creation of the swap partition on the NFS root
== Etherboot ==
With the RC-1000 custom firmware, the device will '''always''' jump to [http://www.etherboot.org Etherboot] and try to download the Linux kernel.
If you want to access !KarlBridge, see the next paragraphs.
Ensure the RG-1000 is on the network, and plug the power in.
Observe the LEDs:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|LEDs (Red/Amber sometimes misleading on the picture...) ||Power ||Wireless ||Ethernet ||Modem ||Phase ||Duration
|-
| http://reseaucitoyen.be/albums/rg1000/aan.jpg ||Amber ||Amber ||Amber ||Amber ||RG-1000 Initialisation ||5 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aao.jpg ||Red ||Red ||Red ||Red ||Firware Initialisation ||2 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aaq.jpg ||Red ||- ||Red ||Red ||Network Detected ||4 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aap.jpg ||Red ||Green ||Green ||Green ||Etherboot started <br />The device will request an IP via DHCP and load linux kernel using TFTP <br />If the RG-1000 stays forever in this status, check your DHCP/TFTP settings||30 secs on first boot <br />10 on reboots
|-
|http://reseaucitoyen.be/albums/rg1000/aar.jpg ||Amber ||Red ||Red ||Red ||Linux starts <br />Note hat I messed up in the LEDs in the 210304 build it is G-R-R-A||<1 sec
|-
|http://reseaucitoyen.be/albums/rg1000/aas.jpg ||Amber ||- ||Green Blink||- ||Linux boots ||7 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aat.jpg ||Green ||- ||- ||- ||Linux ready <br />Wireless and Ethernet LEDs blink Green on access||-
|}
You can now ''telnet'' to the device!
== Booting the KarlBridge firmware ==
If you want to boot the !KarlBridge firmware, just boot the unit with the network cable disconnected.
<br />Reconnect the cable once the devices is started.
''[TODO] Document LEDs statuses''
== Connecting a Console ==
It is also possible to have access to the Linux Console via the modem port of the RG-1000.
# Il faut un 'vrai modem' -- je veux dire par là que le modem doit pouvoir supporter une communication sur laquelle il n'y a pas de courrant(à l'opposé d'une ligne téléphonique). <br />N'importe quel 'vieux machin' doit faire l'affaire, mais ouliez un !WinModem ou la plupart des modems Laptops...
# Connecter le modem au RG-1000 en back-to-back (simple cable téléphonique droit)
# Connecter le modem au port série du PC (Cable série droit)
# Installez minicom sur Linux (ou utiliser WinTel HyperTerm) sur une Debian Sarge:
## En tant que root, installer le package<br />`apt-get install minicom`
## En tant que root, s'ajouter dans le groupe "dialout" <br />`adduser <your_user> dialout`
## En tant qu'utilisateur non privilégié, configurer minicom <br />`minicom -s`
## On tombe dans une interface interactive en mode texte, le seul paramètre à changer est "Configuration du port série / Port série" qui est /dev/modem et que j'ai changé en /dev/ttyS0<br />Ne pas oublier de sauver la config avant de sortir<br />En tant qu'utilisateur non privilégié<br />`minicom`
# verifier que le PC parle au modem (e.g. commande ATI)
# Booter le RG-1000, dès que les 4 LEDs ambre passent au rouge (pas avant!), appuyez sur 'forced reload' pendant 'un certain temps' (4 rouges -> 3 rouges -> autre chose: a ce point relachez le forced reload)
# Dans minicom: initialiser la connection -- l'incantation est: 'ATX1D'
# La console se connecte et demande si on veux Etherboot ou le firmware original -- choisir Etherboot
''[TODO] Translate text :-) ''
= Install Packages =
The root file system (root-fs-rc1000.tbz) included in the distribution contains the bare minimum to boot the system and establish a network connection ('''no wireless at this stage''').
You have to install additional packages to have a fully functional node
== Why packages? ==
The first version of the distribution was ''monolythic''. Easy to install, but a pain to upgrade as you always have to overwrite your previous configuration.
Then I came accross [http://handhelds.org/moin/moin.cgi/Ipkg IPKG] and decided to re-package the whole thing with it.
Now you just have to install once, update from time to time!
== Obtaining packages / configuring ipkg ==
The official packages feed is available at
* Internet: http://reseaucitoyen.be/diskless/rc1000/feeds/stable/
* ReseauCitoyen:
** http://rbulles.bxl.rc/rc1000/feeds/stable/
** http://10.51.110.172/rc1000/feeds/stable/
If your have internet access, and your DHCP server is well configured (that is: it provides the default gateway, ...) you just need to check the ''nameserver'' entries in ''/etc/resolv.conf'' and you are ready to go!
Telnet to your RG-1000, test your connectivity:
# ping belnet.be
PING belnet.be (193.190.198.53): 56 data bytes
64 bytes from 193.190.198.53: icmp_seq=0 ttl=54 time=13.1 ms
...
(Do not attempt to ping reseaucitoyen.be as it does not answer ICMPs!)
<br />and update your package list:
# ipkg update
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/Packages
Updated list of available packages in /usr/lib/ipkg/lists/stable
If you have internet access, but cannot ping ''reseaucitoyen.be'', please check your network configuration -- this is a bit out of the scope of this Install Guide!
In case you cannot access ''reseaucitoyen.be'' from your RG-1000, then you can:
* Copy the feed to a local system, and update `/etc/ipkg.conf` on the RG-1000 accordingly
* Copy the feed to the nfs-mounted partition so that they are directly accessible from the RG-1000 and install directly from file.
In any case, please read the [http://handhelds.org/moin/moin.cgi/Ipkg IPKG Documentation] before bugging me :-?
== Pre-installed packages ==
The initial disk image contains the following packages (minimal configuration to be able to boot the RG-1000 and access it through the LAN interface):
* base-files (base configuration files, devices, ...)
* hosts-file (/etc/hosts)
* uclibc (base libraries)
* busybox (base utilisties)
* diffutils (diff -- needed by ipkg)
* ipkg (the key to the rest of the install)
== Packages you should install ==
To have a working node, you should install the following packages:
* linux-modules (kernel modules, mainly the drivers for the wireless device)
* iptables (firewall)
* aodv-uu / aodv-uu-ipt (AOVD-UU without/with my iptables patch)
* aodv-uu-cfg (aodv startup scripts)
* wtools (wireless tools)
* tinyhttp (small http server to get status of the node via the web)
# ipkg install linux-modules iptables aodv-uu-ipt wtools tinyhttp
Installing linux-modules (2.4.23-rc-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/linux-modules_2.4.23-rc-1_i386.ipk
Installing iptables (1.2.8-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/iptables_1.2.8-1_i386.ipk
Installing aodv-uu-ipt (0.8.1-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/aodv-uu-ipt_0.8.1-1_i386.ipk
Installing aodv-uu-cfg (0.8.1-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/aodv-uu-cfg_0.8.1-1_i386.ipk
Installing wtools (26-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/wtools_26-1_i386.ipk
Installing tinyhttp (1.0.0-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/tinyhttp_1.0.0-1_i386.ipk
Configuring aodv-uu-cfg
Configuring aodv-uu-ipt
Configuring iptables
Configuring linux-modules
Configuring tinyhttp
Configuring wtools
Successfully terminated.
Reboot[[[[Foot Note]](It looks like I am not able to reset the wireless card properly at reboot when we use hostap. So it is safer to halt the device, and power-off / power-on the unit)]] to start all the services and you are all set!
== Other packages ==
If needed, you can also install the following packages:
* kismet (kismet drone)
* libcpp (C++ libraries needed by kismet)
* u-olsrd (If you want to experiment with OLSR and join the Guild of the Blue Trappis)
* dropbear-sshd (ssh server)
* zlib (needed by dropbear)
== IPKG and Firewall ==
Note that once the ''iptables'' package is installed, you will not be able to access the internet anymore, due to the strict firewalling rules.
You can relax the protection during the upgrades -- e.g.:
# iptables -I OUTPUT -o eth0 -d 212.68.212.217 -j ACCEPT
# iptables -I INPUT -i eth0 -s 212.68.212.217 -j ACCEPT
Depending on your local configuration, you may need to give access to the nameservers as well...
[[Category:RC-1000]]
1333
1304
2005-09-27T22:12:45Z
Phil
1
/* Packages you should install */
wikitext
text/x-wiki
= Requirements =
* RG-1000 device :-?
* TFTP Server
* NFS Server
* DHCP Server
* RC-1000 [http://reseaucitoyen.be ReseauCitoyen] distribution. <br />[http://reseaucitoyen.be/diskless/rc1000/ Download the latest build] <br />It contains 3 files:
** '''''firmware-rc1000.img''''': RG-1000 firware image (!KarlBridge) with [http://www.etherboot.org Etherboot]
** '''''kernel-rc1000.nbi''''': Linux kernel 2.4 in Network Bootable Image format
** '''''root-fs-rc1000.tbz''''': Root filesystem bzipped tarball
= Flash the new RG-1000 Firmware =
First, you need to re-flash your RG-1000 with the '''''firmware-rc1000.img''''' firmware
See the [[Rg Flash]] for more details
= Upgrade the Orinoco card Firmware =
The RG-1000 contains an Orinoco card with a relatively old firmware.
<br />Although not mandatory, I '''strongly''' recommend to upgrade the firmware of the card.
You will have to open your RG-1000 (See [http://reseaucitoyen.be/gallery/view_album.php?set_albumName=rg1000 pictures])
<br />Follow these [[RC:OrinocoSilver|instructions]]
= TFTP Server =
We strongly recommend the use of the ''tftp-hpa'' server.
<br />Debian: ''apt-get install tftpd-hpa''
Configuring TFTP is very simple. You just need:
tftp dgram udp wait root /usr/sbin/in.tftpd tftpd -v -s /tftpboot
in /etc/inetd.conf (/tftpboot is the directory which will contains the boot images).
<br />Do not forget to restart inetd after chanfing /etc/inetd.conf:
/etc/init.d/inetd reload
Copy the firmware into your /tftpboot directory.
<br />E.g.:
mkdir /tftpboot/rc1000
cp kernel-rc1000.nbi /tftpboot/rc1000
= NFS Server =
Debian: ''apt-get install nfs-kernel-server''
<br />or the user-mode version: ''apt-get install nfs-user-server''
Unpack the root image somewhere on your NFS Server.
<br />This '''must''' be done as '''''root''''' to preserve the devices et permissions!
<br />E.g.:
mkdir /home/rc1000
tar xjf root-fs-rc1000.tbz -C /home/rc1000
Export the directory: add a line in ''/etc/exports''.
<br />E.g.:
/home/rc1000 192.168.1.0/24(rw,no_root_squash,sync)
The ''no_root_squash'' option is important to grant full root access to the client. You may want to restrict the address to the single address of the RG-1000
Finally, activate the export (for the kernel-mode version):
exportfs -a
= DHCP Server =
We will need a BootP/DHCP server on the local network
<br />Debian (ISC dhcpd 3.0): ''apt-get install dhcp3-server''
Here is an example which show how to configure ISC dhcpd 3.0 (extract of /etc/dhcp3/dhcpd.conf):
subnet 192.168.1.0 netmask 255.255.255.0 {
# Other declarations...
# Etherboot Client Example
host rc1000 {
option host-name "rc1000"; # Hostname
hardware ethernet 00:02:2d:15:2a:af; # Mac address of the node
fixed-address rc1000.bulles-dsl; # Assigned IP (DNS will resolve the name)
server-name "bulles-nc.bulles-dsl"; # Name of the DHCP server
option tftp-server-name "bulles-nc"; # Name of the TFTP server (can be another host than the DHCP server)
next-server bulles-nc.bulles-dsl; # Address of the TFTP server
filename "/rc1000/kernel-rc1000.nbi"; # Name of the kernel image (NBI format)
option root-path "192.168.1.19:/home/rc1000"; # Address of the NFS Server and the directory containing the root image
}
}
= Boot your RG-1000 =
Let the magic happen!
/!\ '''Note''': The very first boot takes some time, mainly due to the creation of the swap partition on the NFS root
== Etherboot ==
With the RC-1000 custom firmware, the device will '''always''' jump to [http://www.etherboot.org Etherboot] and try to download the Linux kernel.
If you want to access !KarlBridge, see the next paragraphs.
Ensure the RG-1000 is on the network, and plug the power in.
Observe the LEDs:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|LEDs (Red/Amber sometimes misleading on the picture...) ||Power ||Wireless ||Ethernet ||Modem ||Phase ||Duration
|-
| http://reseaucitoyen.be/albums/rg1000/aan.jpg ||Amber ||Amber ||Amber ||Amber ||RG-1000 Initialisation ||5 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aao.jpg ||Red ||Red ||Red ||Red ||Firware Initialisation ||2 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aaq.jpg ||Red ||- ||Red ||Red ||Network Detected ||4 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aap.jpg ||Red ||Green ||Green ||Green ||Etherboot started <br />The device will request an IP via DHCP and load linux kernel using TFTP <br />If the RG-1000 stays forever in this status, check your DHCP/TFTP settings||30 secs on first boot <br />10 on reboots
|-
|http://reseaucitoyen.be/albums/rg1000/aar.jpg ||Amber ||Red ||Red ||Red ||Linux starts <br />Note hat I messed up in the LEDs in the 210304 build it is G-R-R-A||<1 sec
|-
|http://reseaucitoyen.be/albums/rg1000/aas.jpg ||Amber ||- ||Green Blink||- ||Linux boots ||7 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aat.jpg ||Green ||- ||- ||- ||Linux ready <br />Wireless and Ethernet LEDs blink Green on access||-
|}
You can now ''telnet'' to the device!
== Booting the KarlBridge firmware ==
If you want to boot the !KarlBridge firmware, just boot the unit with the network cable disconnected.
<br />Reconnect the cable once the devices is started.
''[TODO] Document LEDs statuses''
== Connecting a Console ==
It is also possible to have access to the Linux Console via the modem port of the RG-1000.
# Il faut un 'vrai modem' -- je veux dire par là que le modem doit pouvoir supporter une communication sur laquelle il n'y a pas de courrant(à l'opposé d'une ligne téléphonique). <br />N'importe quel 'vieux machin' doit faire l'affaire, mais ouliez un !WinModem ou la plupart des modems Laptops...
# Connecter le modem au RG-1000 en back-to-back (simple cable téléphonique droit)
# Connecter le modem au port série du PC (Cable série droit)
# Installez minicom sur Linux (ou utiliser WinTel HyperTerm) sur une Debian Sarge:
## En tant que root, installer le package<br />`apt-get install minicom`
## En tant que root, s'ajouter dans le groupe "dialout" <br />`adduser <your_user> dialout`
## En tant qu'utilisateur non privilégié, configurer minicom <br />`minicom -s`
## On tombe dans une interface interactive en mode texte, le seul paramètre à changer est "Configuration du port série / Port série" qui est /dev/modem et que j'ai changé en /dev/ttyS0<br />Ne pas oublier de sauver la config avant de sortir<br />En tant qu'utilisateur non privilégié<br />`minicom`
# verifier que le PC parle au modem (e.g. commande ATI)
# Booter le RG-1000, dès que les 4 LEDs ambre passent au rouge (pas avant!), appuyez sur 'forced reload' pendant 'un certain temps' (4 rouges -> 3 rouges -> autre chose: a ce point relachez le forced reload)
# Dans minicom: initialiser la connection -- l'incantation est: 'ATX1D'
# La console se connecte et demande si on veux Etherboot ou le firmware original -- choisir Etherboot
''[TODO] Translate text :-) ''
= Install Packages =
The root file system (root-fs-rc1000.tbz) included in the distribution contains the bare minimum to boot the system and establish a network connection ('''no wireless at this stage''').
You have to install additional packages to have a fully functional node
== Why packages? ==
The first version of the distribution was ''monolythic''. Easy to install, but a pain to upgrade as you always have to overwrite your previous configuration.
Then I came accross [http://handhelds.org/moin/moin.cgi/Ipkg IPKG] and decided to re-package the whole thing with it.
Now you just have to install once, update from time to time!
== Obtaining packages / configuring ipkg ==
The official packages feed is available at
* Internet: http://reseaucitoyen.be/diskless/rc1000/feeds/stable/
* ReseauCitoyen:
** http://rbulles.bxl.rc/rc1000/feeds/stable/
** http://10.51.110.172/rc1000/feeds/stable/
If your have internet access, and your DHCP server is well configured (that is: it provides the default gateway, ...) you just need to check the ''nameserver'' entries in ''/etc/resolv.conf'' and you are ready to go!
Telnet to your RG-1000, test your connectivity:
# ping belnet.be
PING belnet.be (193.190.198.53): 56 data bytes
64 bytes from 193.190.198.53: icmp_seq=0 ttl=54 time=13.1 ms
...
(Do not attempt to ping reseaucitoyen.be as it does not answer ICMPs!)
<br />and update your package list:
# ipkg update
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/Packages
Updated list of available packages in /usr/lib/ipkg/lists/stable
If you have internet access, but cannot ping ''reseaucitoyen.be'', please check your network configuration -- this is a bit out of the scope of this Install Guide!
In case you cannot access ''reseaucitoyen.be'' from your RG-1000, then you can:
* Copy the feed to a local system, and update `/etc/ipkg.conf` on the RG-1000 accordingly
* Copy the feed to the nfs-mounted partition so that they are directly accessible from the RG-1000 and install directly from file.
In any case, please read the [http://handhelds.org/moin/moin.cgi/Ipkg IPKG Documentation] before bugging me :-?
== Pre-installed packages ==
The initial disk image contains the following packages (minimal configuration to be able to boot the RG-1000 and access it through the LAN interface):
* base-files (base configuration files, devices, ...)
* hosts-file (/etc/hosts)
* uclibc (base libraries)
* busybox (base utilisties)
* diffutils (diff -- needed by ipkg)
* ipkg (the key to the rest of the install)
== Packages you should install ==
To have a working node, you should install the following packages:
* linux-modules (kernel modules, mainly the drivers for the wireless device)
* iptables (firewall)
* aodv-uu / aodv-uu-ipt (AOVD-UU without/with my iptables patch)
* aodv-uu-cfg (aodv startup scripts)
* wtools (wireless tools)
* tinyhttp (small http server to get status of the node via the web)
# ipkg install linux-modules iptables aodv-uu-ipt wtools tinyhttp
Installing linux-modules (2.4.23-rc-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/linux-modules_2.4.23-rc-1_i386.ipk
Installing iptables (1.2.8-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/iptables_1.2.8-1_i386.ipk
Installing aodv-uu-ipt (0.8.1-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/aodv-uu-ipt_0.8.1-1_i386.ipk
Installing aodv-uu-cfg (0.8.1-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/aodv-uu-cfg_0.8.1-1_i386.ipk
Installing wtools (26-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/wtools_26-1_i386.ipk
Installing tinyhttp (1.0.0-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/tinyhttp_1.0.0-1_i386.ipk
Configuring aodv-uu-cfg
Configuring aodv-uu-ipt
Configuring iptables
Configuring linux-modules
Configuring tinyhttp
Configuring wtools
Successfully terminated.
Reboot to start all the services and you are all set!
<br />(It looks like I am not able to reset the wireless card properly at reboot when we use hostap. So it is safer to halt the device, and power-off / power-on the unit)
== Other packages ==
If needed, you can also install the following packages:
* kismet (kismet drone)
* libcpp (C++ libraries needed by kismet)
* u-olsrd (If you want to experiment with OLSR and join the Guild of the Blue Trappis)
* dropbear-sshd (ssh server)
* zlib (needed by dropbear)
== IPKG and Firewall ==
Note that once the ''iptables'' package is installed, you will not be able to access the internet anymore, due to the strict firewalling rules.
You can relax the protection during the upgrades -- e.g.:
# iptables -I OUTPUT -o eth0 -d 212.68.212.217 -j ACCEPT
# iptables -I INPUT -i eth0 -s 212.68.212.217 -j ACCEPT
Depending on your local configuration, you may need to give access to the nameservers as well...
[[Category:RC-1000]]
Question fréquentes
0
1300
1305
2005-09-27T20:31:19Z
Phil
1
wikitext
text/x-wiki
= Comment connait on l'adresse mac du rg-1000 (côté filaire)? =
En regardant dans /var/log/syslog (du serveur dhcp sur lequel le rg-1000 est installé)
il y est indiqué les requètes des client dhcp ( donc en allument le rg-1000 la mac devrait s' afficher )
Pour voir le syslog en temps reel
# tail -f /var/log/syslog
= Une fois que le RG-1000 boot corectement que puis-je faire pour avoir des informations en temps réel sur ce dernier? =
En se connectant en telnet:
# telnet 192.168.1.n(=adresse du rg-1000)
et là iwconfig, ifconfig, ps -aux,...
<br />Toute vos commandes favorites fonctionneront
Alternativement, la page web `http://<Adresse RG-1000>/` donne un résumé...
= Où puis je configurer l'arret ou le redemarrage d'aodv ou olsr? =
Toujours en telnet sur le rg-1000,
== AODV ==
/etc/init.d/aodv-uu.sh {start|stop}
Les options runtime peuvent être configurés dans /etc/default/aodv-uu
== OLSR ==
Il n'y a pas de scripts de démarrage pour l'instant...
= Comment puis-je changer le channel de la config wireless du rg-1000? =
/etc/default/wtools
= Je veux autoriser certaines personnes du nuage aodv a accèder a mon noeud =
exemple: pour que le citoyen ai accès a mon serveur web
(!) || la distrib rc1000 lance un petit serverweb sur le port 80; le mieux est de le changer en 8080 dans /etc/default/tinyhttp||
-je dois dire au rg-1000 d accepter les demandes sur le port 80
# iptables -I FORWARD -i wlan0 -o eth0 -d 192.168.1.50 -p tcp --destination-port 80 -j ACCEPT
-je dois dire au rg-1000 de forwarder tout ce qui arrive du coté wlan0 (wifi) vers le serveur local ( 192.168.1.50 dans l exemple )
# iptables -t nat -I PREROUTING -i wlan0 -p tcp --dport 80 -j DNAT --to 192.168.1.50:80
= Je veux ajouter une route a mon reseau local pour qu il aie acces au nuage aodv =
connectez vous en root sur la machine qui est relié au rg-1000: tapez cette commande ( <tt><nowiki>192.168.1.12=adresse du rg-1000</nowiki></tt>
)
# route add -net 10.0.0.0/8 gw 192.168.1.12
[[Category:RC-1000]]
Opération Panik
0
1301
1306
2005-09-27T20:49:41Z
Phil
1
wikitext
text/x-wiki
= Operation Panik =
[[Operation Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Les informations relative a ce projet sont centralisées dans ce wiki.
= Index =
* [[Matériel Panik]]: matériel utilisé
* [[Logiciel Panik]]: configuration logicielle des systèmes
* [[Tests Panik]]: notes sur les tests effectués
* [[Installation Panik]]: notes relatives a l'installation sur site
* [[Déploiement Panik]]: Mise en production
= Etat d'avancement =
* Environnement défini
* Noyeau compilé
* Josaphat terminé
* Panik terminé
= A faire =
* Investiguer le bug ''ogg123'' (voire [[Logiciel Panik]] -- Faible priorité)
* Mettre la configuration en production
[[Category:Opération Panik]]
1309
1306
2005-09-27T20:52:48Z
Phil
1
OperationPanik moved to OpérationPanik
wikitext
text/x-wiki
= Operation Panik =
[[Operation Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Les informations relative a ce projet sont centralisées dans ce wiki.
= Index =
* [[Matériel Panik]]: matériel utilisé
* [[Logiciel Panik]]: configuration logicielle des systèmes
* [[Tests Panik]]: notes sur les tests effectués
* [[Installation Panik]]: notes relatives a l'installation sur site
* [[Déploiement Panik]]: Mise en production
= Etat d'avancement =
* Environnement défini
* Noyeau compilé
* Josaphat terminé
* Panik terminé
= A faire =
* Investiguer le bug ''ogg123'' (voire [[Logiciel Panik]] -- Faible priorité)
* Mettre la configuration en production
[[Category:Opération Panik]]
1311
1309
2005-09-27T20:53:25Z
Phil
1
OpérationPanik moved to Opération Panik
wikitext
text/x-wiki
= Operation Panik =
[[Operation Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Les informations relative a ce projet sont centralisées dans ce wiki.
= Index =
* [[Matériel Panik]]: matériel utilisé
* [[Logiciel Panik]]: configuration logicielle des systèmes
* [[Tests Panik]]: notes sur les tests effectués
* [[Installation Panik]]: notes relatives a l'installation sur site
* [[Déploiement Panik]]: Mise en production
= Etat d'avancement =
* Environnement défini
* Noyeau compilé
* Josaphat terminé
* Panik terminé
= A faire =
* Investiguer le bug ''ogg123'' (voire [[Logiciel Panik]] -- Faible priorité)
* Mettre la configuration en production
[[Category:Opération Panik]]
1314
1311
2005-09-27T20:55:34Z
Phil
1
/* Operation Panik */
wikitext
text/x-wiki
= Operation Panik =
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Les informations relative a ce projet sont centralisées dans ce wiki.
= Index =
* [[Matériel Panik]]: matériel utilisé
* [[Logiciel Panik]]: configuration logicielle des systèmes
* [[Tests Panik]]: notes sur les tests effectués
* [[Installation Panik]]: notes relatives a l'installation sur site
* [[Déploiement Panik]]: Mise en production
= Etat d'avancement =
* Environnement défini
* Noyeau compilé
* Josaphat terminé
* Panik terminé
= A faire =
* Investiguer le bug ''ogg123'' (voire [[Logiciel Panik]] -- Faible priorité)
* Mettre la configuration en production
[[Category:Opération Panik]]
Category:Opération Panik
14
1302
1307
2005-09-27T20:50:15Z
Phil
1
wikitext
text/x-wiki
[[Operation Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
1318
1307
2005-09-27T21:09:13Z
Phil
1
wikitext
text/x-wiki
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Matériel Panik
0
1303
1308
2005-09-27T20:52:15Z
Phil
1
wikitext
text/x-wiki
= Coté émission (Panik) =
== PC ==
Un RC:CitizenBac est utilisé:
* Pentium 150 Mhz
* 64 MB RAM (vérifiée avec [http://www.memtest86.com/ MemTest86])
* 1.6 GB Hard Disk (vérifié avec ''badblocks'')
* Carte réseau SMC Ultra
* Bridge PCMCIA ISA
== Wifi ==
* Carte: PCMCIA Cisco 350 ou RC:EnGenius
* Antenne: RC:RubberDuck via un pigtail RP-TNC
= Coté réception (Josaphat) =
== PC ==
Un PC ''tour'':
* Pentium 200 Mhz MMX
* 160 MB RAM (vérifiée avec [http://www.memtest86.com/ MemTest86])
* 1282 MB Hard Disk (vérifié avec ''badblocks'')
* Carte son: Creative SB16 PnP
== Wifi ==
* Carte: PCMCIA RC:EnGenius
* Antenne: Omni 8 dBi via un pigtail N et un cable Ecoflex N/N
== Problèmes résolus ==
* La carte perd son setup lorsqu'elle est débranchée. <br />Pile remplacée {OK}
* 165 badblocks sur ke disque. <br />Disque changé {OK}
= Problème hardware (pour référence) =
Historique du problème hardware sur le RC:CitizenBac.
<br />La machine a été remplacée
J'ai détecté plusieurs comportements bizarres du système:
* Un core dump lors de l'install
* Une erreur de pagination au shutdown
* Une corruption disque
Si le hardware ne peux pas formellement être mis en cause dans les 2 premiers cas, le troisème est formellement identifié:
cmp -bl /lib/modules/2.4.27-rc-1-386/kernel/drivers/ide/ide-core.o kernel/drivers/ide/ide-core.o
105379 0 <sup>@ 3 </sup>C
106403 1 <sup>A 3 </sup>C
Cette corruption c'est produite à l'installation d'un nouveau noyeau pendant la création du initrd.
Plusieurs causes sont probables:
* Problème disque
* Problème mémoire / cache (seuls 2 bytes du fichier sont affectés)
* Problème de la carte mère en général (ben il a marche pendant plus d un an --eg)
Aucun message d'erreur dans les logs....
/!\ plan d'action:
* Test intensif de la mémoire (avec [http://www.memtest86.com/ MemTest86]) <br /> {OK} Quatre passes complètes sans erreur (16 heures de test!)
* Test intensif du disque (avec badblocks -- le disque est ATA-1 et n'a pas d'infos SMART) <br /> X-( le disque a l'air d'avoir des problèmes intermitants: badblocks me renvoie une dizaine de blocs, je relance la commande en redirigeant la liste des blocks dans un fichier: plus d'erreur...
* Autres tests <br /> {OK} Le processeur reste tiède avec cpuburn -- pas de problème de ce coté
<!> Suite au résultats des tests précédents, je décide d'utiliser un autre disque...
* Test pour badblocks dans une autre machine: pas de problème
* Première partie de l'install de Sarge dans une autre machine: pas de problème
* Install du HD dans la machine cible, continuation de l'install: corruption d'une librairie, impossible de finir l'install X-(
<!> Pour préciser le problème, je reprend au début:
* Install complet de Sarge a partir d'une autre machine: tout bon
* Install du HD dans la machine cible: pas de problème au boot
* Je décide alors de ''charger'' la machine en copiant le répertoire /usr et en vérifiant la consistance des données. <br />La procédure tourne toute la nuit sans corruptions...
* Comme la plupart des problèmes on été rencontrés lors/suite à l'install de paquets Debian, je change mon script de test et fais la copie via <br />`tar -czf - | tar -xzf -` <br />et oh surprise après quelques minutes la machine se meurt avec des <br />`kernel: Unable to handle kernel paging request at virtual address ...` <br />De plus le problème est maintenant reproductible!
Ce type de problème est généralement logiciel, mais il se produit ici avec avec une installation Sarge de base, ce qui est vraiment bizarre...
<br />L'analyse du stack trace des Oopses ne révèle pas grand chose:
* Aucun module exotique dans le stack
* Se produit a des endroits différents
* Est lié à la gestion disque/mémoire (allocation d'inode, swap, ...)
A ce stade il est difficile d'apporter un conclusion formelle sur l'origine du problème. Bien qu'on puisse pousser les tests plus loin (étude du comportement sous Debian Woody par exemple), nous sommes de toutes façons en présence d'un système instable.
<br />Je pense qu'il vaut mieux éviter d'installer un noeud sur des bases malsaines et suggère l'utilisation d'une autre machine.
[[Category:Opération Panik]]
Main Page
0
1
1313
1278
2005-09-27T20:55:15Z
Phil
1
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be ReseauCitoyen].
= Contents =
* [[Bubble]]: A mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be ReseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be ReseauCitoyen] node
* [[Opération Panik]]: Audio Streaming for [http://www.reseaucitoyen.be ReseauCitoyen] Testimonial
* [[GestionReseauCitoyen]]: Node logbook
* [[AodvOpenWrt]]: Some notes about running AODV-UU on [http://openwrt.org OpenWrt]
* [[NoeudBulles]]: This wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be ReseauCitoyen] node.
1321
1313
2005-09-27T21:18:32Z
Phil
1
/* Contents */
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be ReseauCitoyen].
= Contents =
* [[Bubble]]: A mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be ReseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be ReseauCitoyen] node
* [[Opération Panik]]: Audio Streaming for [http://www.reseaucitoyen.be ReseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: Node logbook
* [[AodvOpenWrt]]: Some notes about running AODV-UU on [http://openwrt.org OpenWrt]
* [[NoeudBulles]]: This wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be ReseauCitoyen] node.
1328
1321
2005-09-27T21:32:55Z
Phil
1
/* Contents */
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be ReseauCitoyen].
= Contents =
* [[Bubble]]: A mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be ReseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be ReseauCitoyen] node
* [[Opération Panik]]: Audio Streaming for [http://www.reseaucitoyen.be ReseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: Node logbook
* [[Wrt Citoyen]]: Some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: This wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be ReseauCitoyen] node.
1334
1328
2005-09-28T12:16:50Z
Phil
1
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
Logiciel Panik
0
1306
1315
2005-09-27T21:02:44Z
Phil
1
wikitext
text/x-wiki
= Base =
La base installée est une [http://www.debian.org Debian] Sarge
= Packages installés =
En plus de l'installation de base de Sarge, les packages suivants sont installés:
<br />Pour faciliter la maintenance, on vise une installation '''minimale'''...
== Installation typique d'un noeud ==
* Système
** bzip2
** (gawk)
** less
** iptraf
** modconf
** nmap
** tcpdump
** traceroute
** ssh
* Wifi
** kismet n'est pas installé car les dépendances sont trop nombreuses ( @) il semble que dans Sarge kismet dépende de X)
** iperf
** wavemon
** wireless-tools
* NTP
** ntp
** ntp-server
** ntp-simple
** ntpdate
* Divers
** links
== Besoins particuliers ==
Les paquets suivants ne sont installés que si nécessaire:
* Supervision de processus
** daemontools
** svtools
* Audio
** aumix
** cdtool
** sox
** vorbis-tools
* Portables Toshiba
** toshset (permet d'activer le ventilateur, etc, ....)
= Noyeau =
Nous utiliserons un noyeau 2.4.27 qui est actuellement la dernière version stable de la série 2.4.
Particularités:
* Compilé pour une architecture i386 de manière a tourner su n'importe quel hardware
* Patches Debian
* Patch Orinoco pour le support du mode moniteur (kismet)
* Drivers [http://hostap.epitest.fi/ HostAP] 0.2.4
* Utilisation des drivers PCMCIA du noyeau
= AODV =
On utilise RC:AodvUu dans sa dernière version: 0.8.1
Le démarrage d'AODV se fait via les scripts ifupdown (voir RC:InstallerAodvUu / Binaires pour Debian)
= Streaming =
Nous avons donc 3 machines en jeu:
* '''Studio''' qui fournit le stream
* '''Panik''' ne sert que de passerelle entre le RC:ReseauCitoyen et '''Studio'''
* '''Josaphat''' machine client
La suite logicielle utilisée est [http://www.icecast.org/ices.php Ices 2] / [http://www.icecast.org IceCast] / [http://www.vorbis.com OggVorbis]
= Configuration des Systèmes =
== Généralités ==
Le fichier RC:FichierHostsPointsBleus est utilisé
<br />Les requetes DNS sont désactivées dans ''/etc/nsswitch.conf'' afin d'éviter des requètes DNS non désirées.
== Studio ==
=== Configuration ===
Pour réaliser les tests, j'ai configuré une machine en serveur [http://www.icecast.org IceCast]:
* [http://www.icecast.org/ices.php Ices 2] lit l'entrée ligne de la carte son, fait le rééchantillonage, l'encodage OGG et fournit l'entrée à [http://www.icecast.org IceCast]
* [http://www.icecast.org IceCast 2.0.1] diffuse le stream
On utilise aumix pour sélectionner la source et régler le volume. Points importants:
* La source à diffuser est celle qui est marquée comme 'R' (Record) dans aumix
* La seule façon de régler le volume pour [http://www.icecast.org/ices.php Ices] est le curseur ''IGain''. Les autre curseur n'influencent que la sortie son 'locale'. <br />Le son au départ était trop fort, il a fallu diminuer pour éviter de saturer (curseur ''IGain'' sur 50/60%)
L'encodage [http://www.icecast.org/ices.php Ices] prend environ 6% du cpu du serveur (AMD 1GHz), l'impact de [http://www.icecast.org IceCast] est négligeable.
<br />Par contre sur un Pentium 133MHz, [http://www.icecast.org/ices.php Ices] utilises 60 à 70% des resources!
La machine utilise Panik comme gateway vers le RC:ReseauCitoyen:
route add -net 10.0.0.0/8 gw 192.<panik>
=== Maintenance ===
Pas de maintenance particulière -- s'assurer que la route vers le RC:ReseauCitoyen est toujours définie. Le plus simple est de l'ajouter dans ''/etc/network/interfaces''; par exemple:
auto eth0
iface eth0 inet dhcp
up route add -net 10.0.0.0/8 gw 192.<panik>
== Panik ==
=== Configuration ===
La configuration du noeud est assez simple. Le seul point particulier est la configuration de la passerelle vers ''Studio''.
<br />Comme on ne peux pas faire ''simplement'' une passerelle avec RC:AodvUu, Panik fait du DNAT pour donner acces au stream:
iptables -t nat -I PREROUTING -i wlan0 -s 10.<josaphat> -p tcp --dport 8000 -j DNAT --to 192.<studio>:8000
et Masquerade le sous-réseau privé:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o wlan0 -j SNAT --to 10.<panik>
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.128).
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.154.69.107)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
== Josaphat ==
=== Configuration ===
On utilise le décodeur ogg123 de [http://www.vorbis.com OggVorbis] pour la lecture du stream (voir ci-dessous pour les détails).
<br />L'adresse du serveur est celle de ''Panik'' qui relaie vers ''Studio''
ogg123 -v http://10.<Panik>:8000/ReseauCitoyen.ogg
Le niveau sonore est ici aussi ajusté via aumix. c'est l'entrée ''PCM'' qu'il faut ici ajuster.
Le délais entre l'émission et la réception est d'environ 10 secondes.
<br />Même avec un bit rate relativement faible (qualité 0, débit d'environ 35 kbps, en mono) la qualité du son est impecable.
Ogg123 utilise environ 5% du CPU de la machine (Pentium 200 MHz)
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.129) -- Non utilisé.
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.8.39.138)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
Pour s'assurer que ogg123 tourne en permanence, il est supervisé par les [http://cr.yp.to/daemontools.html DaemonTools] et est rédémaré en cas de problème.
<br />Quelques pointeurs utiles:
* La ligne de commande exacte pour démarrer ogg123 se trouve dans le fichier ''/etc/sv/Stream Panik/run''. <br />Pour des raisons pratiques ce script ne contient que l'appel de ''/usr/local/sbin/stream-panik''. Ce dernier devra être adapté:
** en fonction de la fréquence de l'échantillonage de la source [http://www.icecast.org/ices.php Ices2] (initialement configuré pour 22050 Hz);
** si l'adresse de ''Panik'' change
* Le service est redémarré tous les jours à 3:30 du matin, de manière à ''rafraichir'' ogg123. Cela est configuré dans le ''cron'', fichier: ''/etc/cron.d/stream-panik''
* Arrêt / Démarrage / Re-demarage: <br />''/etc/init.d/stream-panik {start|stop|restart}''
* Activation / Désactivation (lorsque le service est ''désactivé'', il n'est plus démarré au boot, ni redémarré la nuit. Si on ne se sert pas du streaming, il faut le désactiver sinon il va tenter de le démarrer indéfiniment): <br />''/etc/init.d/stream-panik {enable|disable}''
* Voire les logs: <br />''mltail Stream Panik''
/!\ '''En cas de problème de streaming''': pour le redemarrer il faut:
* Soit ''tuer'' le client dans [http://www.icecast.org IceCast], le stream sera redémarré automatiquement
* Soit executer la commande suivant sur ''josaphat'': <br />''/etc/init.d/stream-panik restart''
= Problèmes rencontrés et Solutions =
== Décalage dans le stream ==
Après environ 12 heures de streaming, les buffers (Input et Output) de ogg123 se sont retrouvés proches de 0%, avec pour conséquence de légères coupures dans la restransmition. <br />Si le problème se résoud facilement par un re-démarrage de ogg123, cela pose un problème pour une utilisation 24h/24h.
'''D'où vient le problème?''' Ce n'est pas un problème de bande passante, la demande su stream est faible. Pour s'en convaincre, on peux réduire la vitesse du lien (`iwconfig rate 2M`) et démarrer un second ogg123 sans affecter la performance.
Une interprétation est que Josaphat joue légèrement plus vite que Studio ne produit: en effet, Josaphat ne peut lire plus vite que ce qui est disponible et au fil des heures on voit le buffer d'entée diminuer; lorsque le buffer d'entrée atteint 0, la vitesse de conversion ogg diminue puisque le convertisseur doit attendre des données; on voit alors le buffer de sortie qui n'est plus approvisionné au même rythme qu'il est vidé et il commence lui aussi à se vider. Lorsque les 2 buffers sont vides il n'y a plus rien à diffuser et donc on a des microcoupures dans le son...
<br />Une autre interprétation est qu'un décalage est introduit par Studio lors du re-sampling entre l'entrée et la sortie dans [http://www.icecast.org/ices.php Ices2] (48k vers 24K ici). Si la carte son n'est pas '''exactement''' sur 48k, on va générer un décalage.
<br />Dans notre cas, la première option est à priviligier -- le décalage étant pratiquement inexistant avec ogg123 tournat sur un autre PC.
Pour être complet, cela n'a pas l'air d'être lié à l'horloge du PC: j'ai synchronisé les 2 machines avec [http://www.ntp.org/ NTP] et cela ne change rien.
'''Comment y remédier?''' Je présume qu'il est pratiquement impossible d'avoir des systèmes parfaitements synchronisés. On pourrait envisager une amélioration de ogg123 qui dans ce cas de figure ''recharge'' ses buffers plutôt que de continuer à travailler à la limite. Sans toucher au software on peut:
* Augmenter la taille des buffers. <br />Cela ne fait que de reporter le problème et augmente légèrement le décalage du stream, mais c'est toujours ça de gagné!
* Augmenter le ''pre-buffering'' de manière a mieux utiliser le buffer d'input. <br />''Attention toutefois à ne pas avoir le phénomène inverse au cas où, en changeant de hardware, le lecteur serait plus lent...''
* Redémarrer ogg123 toutes les nuits. <br />Avec une interruption de retransmission de quelques secondes. Ce n'est pas l'idéal mais je ne vois pas d'alternative dans l'immédiat.
Concernant la taille des buffers, la lecture des sources nous révèle que:
* La taille par défaut buffer d'entrée est de 64k
* La taille par défaut buffer de sortie est de 128k
* Le ''pre-buffering'' par défaut est de 50%
Comme nous ne sommes pas trop limités en mémoire sur Josaphat, j'ai effectué un test avec 256k pour l'entrée, 512k pour la sortie avec un ''pre-buffering'' de 75% (comme le buffer d'entrée remplit en une fois le buffer de sortie, il se vide de 25% pratiquement en une fois et se stabilise aux alentours de 50-55%).
<br />Ce test de 24 heures confirme les premières observation: avec le hardware utilisé, le lecteur (Josaphat) lit une seconde plus vite par heure que le serveur de stream (Studio), donc de manière régulière: 12 secondes après 12 heures et 24 en 24 heures. Le buffer d'entrée lui a perdu 30-35% de sa capacité, soit 80-90 kB, ce qui est consistant avec le débit: 24 s à 30 kbps = 90 kB.
<br />Donc un buffer d'entrée de 256k rempli à 50% au départ permet sans problème une déviation de +/- une seconde par heure sur 24 heures.
<br />La grande taille du buffer de sortie n'apporte rien ici, si ce n'est un décalage excessif entre le direct et la diffusion (47 secondes au départ avec les paramètres ci-dessus).
<br />Les parametres recommandés pour ce bit rate sont donc:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 128 \
--device oss \
http://10.51.110.172:8000/ReseauCitoyen.ogg
Pour gérer tout cela, pas la peine de réinventer l'eau chaude, on utilise les [http://cr.yp.to/daemontools.html DaemonTools] de [http://cr.yp.to/djb.html D.J. Bernstein].
== Corruption du Stream ==
Les tests de longue durée ont révélé une corruption du stream -- probablement un bug dans la gestion des buffers de ogg123...
Après ''un certain temps'', un bruit parasite (un ''toc'') est introduit dans le stream. Le bruit se répète à intervalle régulier (à chaque ''tour'' dans le buffer).
J'ai effectué plusieurs tests, et ce problème est tout a fait reproductible: le stream est ''parfait'' jusqu'à un certain point, et une fois la corruption introduite, elle reste présente at garde le même cycle que la latence du stream (c'est-à-dire de plus en plus fréquent puisque le latence diminue avec la diminution de l'occupation du buffer du au problème précédent.
<br />La corruption se produit après environ 12:30 d'écoute (à affiner)
Ici aussi, une solution possible serait de redémarrer le stream toutes les 12 heures, mais cela implique une interruption en journée.
'''Cause du problème''': Nous avons un streaming à 24 kHz en 16 bits mono (1 canal). Cela nous fait 384 kbps; on atteind donc 2 GB en 12h 25m 39s!
<br />La cause est plus que probablement un dépassement d'entier signé sur 32 bits. Reste à trouver où!
Quelques observation:
* [http://www.xmms.org/ XMMS] n'a pas ce problème -- j'ai ''joué'' plus de 39 heures parfaitement.
* Bien que la grande majorité drivers ''OSS'' comptent les bytes joués dans un ''int'' (''count_info.bytes''), cette information n'est disponible que via un ''ioctl'' que ogg123 n'utilise pas
* Un output via ''aRts'' au lieu de ''OSS'' en direct génère le même problème
* Un output via ''raw | sox'' au lieu de ''OSS'' en direct génère le même problème
(!) Nouveau (27-Sep-04): le by-pass du buffer de sortie de ogg123 semble résoudre le problème:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 0 \
--device raw -f - \
http://10.51.110.172:8000/ReseauCitoyen.ogg |
sox -t raw -r 24000 -w -s - -t ossdsp -r 48000 /dev/dsp
C'est un point important, car cela:
* précise où se situe le problème (ce n'est donc pas un problème de pilote OSS ou de décodage ogg)
* offre un ''workaround''
Le noeud est maintenant configuré de cette façon.
[[Category:Opération Panik]]
Tests Panik
0
1307
1316
2005-09-27T21:05:55Z
Phil
1
wikitext
text/x-wiki
Cette page reprend le schéma général des tests. Les problèmes/solutions sont décrits dans [[Matériel Panik]] et [[Logiciel Panik]]
= Semaine du 13 Septembre 2004 =
Tests hardware
= Semaine du 20 Septembre 2004 =
Test de streaming 24h/24h
Test de tous les systèmes dans leur configuration finale ''en labo''
= Semaine du 27 Septembre 2004 =
Tests de stabilité:
* tous les système sont en ''configuration réelle'': sans clavier / écran / ...
* déplacement du matériel pour
** Dégrader la qualité du signal Wifi
** Générer du routage AODV
** Diminuer le niveau sonore du labo (qui est mon lieu de travail) <br /> <br />La configuration physique est maintenant:
** Panik: garage (niveau 0)
** Perturbation: AP et client sur le canal 6 (niveau 1)
** Josaphat: niveau 2
** wrt-ivan (en mode RC:ReseauCitoyen): niveau 3
** [[RC:NoeudBulles]]: sur le toit
** Perturbation: 1 AP dans la rue (non identifié mais suffisemment proche pour avoir un bon signal)
[[Category:Opération Panik]]
Installation Panik
0
1308
1317
2005-09-27T21:08:43Z
Phil
1
wikitext
text/x-wiki
= Quand? =
Date prévue: le Samedi 2 Octobre.
RC:IvanMarkoff propose rendez-vous vers 10H30 chez lui:
<br />rue Potagère, 103
<br />pour préparer le câble et vérifier le matos
RC:IvanMarkoff viens de téléphoner à Serge. Il ne pourra pas venir avant 13h.
<br />Mais pas de problèmes, il apportera les clefs de panik la veille vendredi pm.
Donc:
* Quelques jours avant l'install :
** Dresser la liste des points joignables depuis Josaphat.
** Le plus simple serait de sauver la page RC:ExtensionPlanAdressage sur le laptop qui fera partie du matériel d'install (Phil - OK)
** Contacter toutes les personnes pouvant participer aux tests de chez eux
*** Said OK : mettra le noeud tagawa en mode RC:ReseauCitoyen
*** Guy : à faire - message sur répondeur
*** Gilles : à faire
* Vendredi
** vers 13h Serge dépose les clefs de Panik (rue St-Josse) chez ivan
* Samedi
** rendez-vous chez RC:IvanMarkoff vers 10h30
** Vers 11h30, installation panik
** Vers 12h30 on bouffe près de Josaphat et on téléphone à Serge pour lui donner l'adresse du resto où on l'attend
** 13h30 install josaphat
= Pré-Install =
Lister ici ce qu'il faut encore faire, acheter, ... avant le jour de l'install
* ...
= Ne pas oublier =
Pour le jour de l'install
== Matériel a amener ==
'''Panik'''
* Hardware
** PC + bridge ISA/PCMCIA + carte pcmacia cisco aironet ''(Phil - OK)''
** pigtail mmcx to rp tnc femelle ''(Phil - OK)''
** antenne rubber duck rp tnc mâle ''(Phil - OK)''
** bac + rallonge électrique 15m ''(ivan - OK)''
** câble Ethernet long + croiseur + câble court ''(sur place)''
* Outillage
** rien
* Quincaillerie
** rien
'''Josaphat'''
*Hardware
** PC + bridge ISA/PCMCIA + carte pcmacia engenius ''(Phil - OK)''
** pigtail mmcx to N mâle ''(ivan - OK)''
** câble ecoflex15 (20m) + 1 connecteur N femelle + 1 connecteur N mâle ''(ivan - OK)''
** antenne 9dBi tilt 0° (N femelle) + attache et colliers ''(ivan - OK)''
** pied photo pour support antenne pour essai avant install définitive ''(ivan - OK)''
** .... ?
* Outillage
** Foreuse à percussion pneumatique + mèches ''(ivan - OK)''
** visseuse portative bas de gamme, si quelqu'un a mieux, c'est le bienvenu ''(ivan - à préparer)''
** visseuse portative milieu de gamme ''(Phil - OK)''
** niveau d'eau ''(ivan - à préparer)''
** ... ?
* Quincaillerie
** allonge étectrique (5 m) + prise multiple (2 m) pour relier le PC au secteur ''(ivan OK)''
** attaches pour câbles éléctriques 16mm ''(ivan OK)''
** vis + chevilles ''(ivan OK)''
** 2 équerres pour étagère pour PC ''(ivan - OK)''
** 1 planche pour étagère ''(ivan - OK)''
** petites vis pour fixer la planche sur les équerres ''(ivan - OK)''
** bande auto-amalgamante pour connecteur antenne ''(ivan OK)''
** ... ?
'''Matériel concernant les 2 points et divers'''
* Portable et cable réseau croisé pour se connecter aux noeuds si nécessaire: ''(Phil - OK)''
* Frein filet (pour les attaches d'antenne): ''(Phil - OK)''
* Appareil photo ''(Phil - OK)''
* Carte et plan de Bruxelles ''(ivan - OK)''
* Jumelles ''(ivan mais ancienne, pas très bonne - OK)''
* ... ?
== Questions ==
* A-t-on un cable réseau pour aller du RC:CitizenBack Panik au studio?
** Oui.
* Qu'est-ce du frein filet ?
** C'est une produit qui permet de ''freiner le filetage'' des vis, c'est a dire empecher les vis de se faire la malle. C'est essentiellement utilisé en mécanique automobile où les vibrations font que tout se dévisse. Par principe sur tout montage extérieur je m'assure qu'il y aie soit des rondelles ''grauer'' soit du frein filet.
* Qu'est-ce de la bande auto-amalgamante ?
** Est-ce similaire à de la gaine thermo-rétractable? Si oui, il faut prévoir un décapeur thermique....
** Non, pas besoin de chauffer. C'est un ruban élastique qui se soude à lui-même.
* Les noeuds de St-Josse sont-ils tous passés en canal 1?
** En principe oui, depuis ce jeudi soir
* ...
== Matériel divers ==
* De la [http://www.chimay.com/www/chimay/site8/dynamique/fr/preview/fiche_b.cfm?p_b_or_f=B&p_langue=FR&p_id_produit=298 ChimayBleue] (Optionel vu que Eric n'est pas là....)
* ...
= Rapport d'install =
Equipe de choc : sympa, cool, et hyper efficace
Oublis :
* capot du pc
* et plus grave : on a oublié de mettre la bande de protection du connecteur d'antenne
Suite voir page [[Gestion Josaphat]]
[[Category:Opération Panik]]
Déploiement Panik
0
1309
1319
2005-09-27T21:10:38Z
Phil
1
wikitext
text/x-wiki
= Objectif =
Bien que le matériel soit en place depuis quelques temps, il ne sert pas encore de relais audio.
Cette page décrit les étapes à entreprendre pour
* Effectuer des tests de stabilité et fiabilité
* Passer en production
= Préparation =
== Qualité de Service ==
Les noeuds font intégrallement partie de !ReseauCitoyen. Il faut s'assurer que le stream audio aie un priorité absolue par rapport aux autres activités!
<!> '''Action''': Déterminer la bonne configuration des QoS (Quality of Service) pour les noeuds Panik et Josaphat
<br />'''Responsable''': RC:ManuelBornemann
<br />'''Statut''': En cours
== Serveur IceCast ==
Pour tester le streaming nous avons besoin d'un server [http://www.icecast.org/ IceCast] dans les locaux de la radio.
De manière à écarter tout problème venant de ce côté, on utiliser le serveur ''studio'' utilisé lors des tests en labo et qui est disponible chez RC:PhilippeVanhaesendonck (voire [[Logiciel Panik]] pour plus de détails). Il faut aussi une source audio pour alimenter le serveur [http://www.icecast.org/ IceCast]
<br />Ce serveur étant sensible aux pannes de courrant, il faut prévoir un UPS.
<!> '''Action''': Rassembler le matériel et l'installer dans les locaux de la radio, le connecter au noeud Panik
<br />'''Responsable''': RC:IvanMarkoff
<br />'''Statut''': Fait! (./)
= Protocole de test =
== Test 'à blanc' ==
Une fois le matériel en place et le QoS installé, on procédera à des tests 'à blanc' c'est a dire sans raccorder la sortie son de Josaphat et donc sans rien diffuser réellement.
L'objectif de ce test est de vérifier la stabilité de la liaison Panik/Josaphat ainsi que de la chaine logicielle.
Le critère de succès du test est de pouvoir ''touner'' une semaine sans interruption non planifiée.
<br />Le monitoring se fera essentiellement sur base des logs, puisqu'aucun retour audio n'est possible. On pourra toutefois se connecter à Josaphat pour tester [http://www.icecast.org/ IceCast]
<br />Cette phase de tests ne demande pas d'accès physique au serveur Josaphat
<!> '''Coordination''': RC:PhilippeVanhaesendonck
== Problèmes logiciels ==
Les éventuels problèmes logiciels seront analysés lorsqu'ils se présentent! La configuration à été testée avec succès en labo, et ne devrait pas poser de problème.
== Problèmes de liaison WIFI ==
En cas de liaison WIFI instable, il faudra changer le setup:
* Installer une antenne Grid sur Josaphat
* Installer un nouveau noeud connecté à l'omni
* Relier les 2 points en filaire pour augmenter l'accessibilité aux machines
Voire [[Alternative Panik]]
== Test d'émission ==
Après la réussite des tests 'à blanc', raccorder la sortie de la carte son de Josaphat à l'émetteur et diffuser réellement de la ''non-stop''.
Ce test final permettra d'apprécier la qualité du son et sera considéré comme concluant après une semaine d'émission ''stable''.
[[Category:Opération Panik]]
Alternative Panik
0
1310
1320
2005-09-27T21:15:34Z
Phil
1
wikitext
text/x-wiki
= Introduction =
Cette page décrit une alternative à la configuration actuelle afin de fiabiliser le lien Panik / Josaphat.
Comme mentionné dans [[Déploiement Panik]], une possibilité est de:
* Installer une antenne Grid sur Josaphat
** Câble lowloss de ? mètres
* Installer un nouveau noeud connecté à l'omni
** 1 carte senao
** 1 pc portable ou 1 adaptateur pci/pcimcia (ricoh)
** carte Ethernet
* Relier les 2 points en filaire pour augmenter l'accessibilité aux machines
L'ensemble restant dans le nuage !ReseauCitoyen.
De manière plus radicale, on pourrait considérer la liaison Panik / Josaphat comme une liaison ''privé'', sur un autre canal/ssid.
= Action =
# Trouver un PC pour installer un nouveau routeur rc à josaphat
#* J'ai un portable déjà configuré. Reste à installer le watchdog (ivan)
#* Mais ne vaut-il pas mieux garder ce portable pour des installations où l'on ne dispose pas d'autant de place ? (ivan)
# Préparer un nouveau câble
#* Il me reste +ou- 10m de ecoflex15. Les connecteurs peuvent se monter facilement sur place, pas de soudure.
# Achat d'un antenne grid 15dB
[[Category:Opération Panik]]
Gestion RéseauCitoyen
0
1311
1322
2005-09-27T21:20:45Z
Phil
1
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
** [[Gestion Josaphat]]
** [[Gestion Panik]]
** [[Gestion Divers]] (interventions sur des noeuds en test)
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
1323
1322
2005-09-27T21:21:26Z
Phil
1
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
Category:Gestion RéseauCitoyen
14
1312
1324
2005-09-27T21:21:51Z
Phil
1
wikitext
text/x-wiki
Journaux d'interventions de noeuds [http://www.reseaucitoyen.be RéseauCitoyen]
Gestion Josaphat
0
1313
1325
2005-09-27T21:23:37Z
Phil
1
wikitext
text/x-wiki
= A faire =
* ....
* ....
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
Gestion Panik
0
1314
1326
2005-09-27T21:25:01Z
Phil
1
wikitext
text/x-wiki
= A faire =
* tester un stream entre panik et josaphat
* ...
= date 04 - heure - Intervention sur place / distante =
Intervenants : ....
* Détails de l'intervention
* .......
= 10 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur panik/josaphat/joske
= 10 Janvier 05 - 21h - Intervention distante =
Intervenants : Philippe
* Correction du crontab de ''!CheckAodv'' (voir [[Gestion Josaphat]])
= 29 Décembre 04 - 22h00 - Intervention distante =
Intervenants : Eric G
* Copie de fichier son pour le test du stream ce trouvant dans /root/son
= 5 décembre 04 - 18h - Intervention distante =
Intervenants : Philippe
* Installation du script de monitoring AODV déjà en place sur josaphat
= 2 décembre 04 - 17h - Intervention sur place =
Intervenants : Ivan
* Remise en canal 1 suite à un changement intempestif en canal 6 avec pollution de "bossuet" et" ivan"
= 25 Novembre 04 - 14h - Intervention sur place =
Intervenants : Mathieu, Ivan
* Remplacement de l'antenne omni 9dB par une antenne grid 15 dbB
= 16 Novembre 04 - 19h00 - Intervention sur distante =
Intervenants : Philippe
Monitoring suite à l'interruption de service de lundi 15 au mardi 16 novembre
'''Incident''': Panik passe en rouge dans Nagios le 15 Novembre à 16h28 et réapparait le 16 novembre à 16:08
'''Analyse''': on observe les faits suivants:
* La machine n'a pas été arretée, le processus aodv n'a pas été redémarré -- le problème s'est donc réglé ''de lui-même''
* Durant toute la durée de l'incident, il n'y avait que une et une seule machine dans les tables de routage AODV: Arnaud (chardons)
* Fait intéressant: le noeud chardons était ''rouge'' dans Nagios '''pendant le même laps de temps'''!! Il semble donc que ces 2 machines se sont ''isolées'' du réseau.<br />L'analyse des logs de Josaphat confirme ce point: aucune des 2 machines n'est dans les tables de routage durant l'incident.
'''Conclusion''': On ne peut rien conclure de ces observations, seulement émettre des hypothèses...
<br />Il faudrait collecter plus d'informations sur les noeuds (info wireless, ...)
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface'').
* Mise a jour de ''/etc/hosts''
[[Category:Gestion RéseauCitoyen]]
Gestion Divers
0
1315
1327
2005-09-27T21:30:08Z
Phil
1
wikitext
text/x-wiki
= A faire =
* Taches a effectuer, ...
* ...
= 17 Novembre 2004 - 8:00 - Intervention sur place - Soekris Ivan (Labo) =
Intervenants : Philippe
'''Incident''': La soekris n'est plus dans le nuage AODV
'''Analyse''': sur la console le message suivant défile sans arrêt:
eth2: information frame lost
La carte (le driver ?) à l'air dans les choux -- le problème est résolu par un `cardctl eject / insert`.
<br />Le message vient de orinoco.c et est spécifique à ce driver
AODV est redémarré et la machine rejoint le nuage immédiatement.
'''Conclusion''': pas d'action immédiate particulière à noter que
# On utilise de toutes façon plus trop les cartes orinoco
# La soekris ne tourne pas la dernière version des drivers, et il y a eu des changement dans le code a cet endroit récemment
# On pourrait utiliser HostAP
A plus long terme, mettre à jour la distribution
= <date> 2004 - <heure> - Intervention [sur place|distante] =
Intervenants : ....
* Détails de l'intervention
* .......
[[Category:Gestion RéseauCitoyen]]
Wrt Citoyen
0
1316
1329
2005-09-27T21:39:30Z
Phil
1
wikitext
text/x-wiki
= OpenWrt pour RéseauCitoyen =
Ce petit How-To décrit l'installation de [[Wrt Citoyen]] sur un WRT de LinkSys
== Préparation ==
Deux cas se présentent: vous avez encore un WRT avec son firmware d'origine ou vous avez déjà configuré votre WRT sous OpenWrt.
=== Installer OpenWrt ===
L'installation d'OpenWrt sort du cadre de ce How-To et est très bien décrite dans le [http://openwrt.org/userguide.html guide de l'utilisateur].
Les firmwares compilés (et testés!) sont disponibles sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/
** http://10.51.110.172/openwrt/
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
Quelques points à prendre en considération:
* Dans une configuration ReseauCitoyen, vous n'avez sans doute pas besoin de ''dnsmasq'' -- désactivez le!
* Vous allez devoir changer le configuration de IPKG, donc il faut le mettre en lecture/écriture
* Procédez de la même façon si vous devez modifier ''/etc/resolv.conf''
@wrt-bulles:/# killall dnsmasq
@wrt-bulles:/# rm /etc/init.d/S50dnsmasq
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
=== OpenWrt déjà intallé ===
Si vous avez une autre version de AODV déjà installée, désinstallez la!
@wrt-bulles:/# ipkg remove aodv-uu
Configurez ipkg pour utiliser le feed !ReseauCitoyen. Le feed est disponible sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/feeds/stable/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/feeds/stable/
** http://10.51.110.172/openwrt/feeds/stable/
Mon fichier ''/etc/ipkg.conf'' ressemble à ceci:
src bulles http://reseaucitoyen.be/diskless/openwrt/feeds/stable
src openwrt http://openwrt.org/ipkg
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
== Configuration Réseau ==
Installez le paquet ''rc-tools'' et exécutez ''rc-setup-net'' qui va s'assurer que votre WRT est prêt pour !ReseauCitoyen:
@wrt-bulles:/# ipkg install rc-tools
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/rc-tools_0.1.1-1_mipsel.ipk ...
Connecting to reseaucitoyen.be:80
rc-tools_0.1.1-1_mip 100% |*****************************| 2305 00:00 ETA
Done.
Unpacking rc-tools...Done.
Configuring rc-tools...Done.
@wrt-bulles:/# rc-setup-net
Please confirm the hardware setting of your WRT:
LAN (4 port Switch) on vlan0
WAN (Separate port) on vlan1
Wireless on eth1
This should be correct unless you played with admcfg...
You can override this by setting the LAN_IF, WAN_IF, WIFI_IF environment variables.
Do you want to continue? Y
I will now configure your WRT for ReseauCitoyen:
No bridging between any interface
LAN (*): Static Address set to 192.168.1.68
WAN (*): Static Address set to 192.168.2.68
Wireless: Static address set to 10.160.249.87
essid bombolong channel 1
(*) No changes are actually done on the LAN/WAN interfaces
Do you want to continue? Y
Writing config to NVRAM...
Commit changes to NVRAM...
nvram_commit(): start
nvram_commit(): end
All done. Please re-boot your WRT to activate the changes
Et rebootez!
== Installation de ssh ==
S'il s'agit d'une nouvelle installation, c'est le momment d'installer 'ssh'!
@wrt-bulles:/# ipkg install dropbear
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/dropbear_0.44test3_mipsel.ipk ...
...
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
== Installation du protocole de routage ==
Le plus dur est fait! Il ne reste plus qu'a installer un paquet AODV ou OLSR:
* '''aodv-uu''': la version originale
* '''aodv-uu-ipt''': la version patchée qui utilise iptables et permet d'utiliser le WRT en temps que passerelle du réseau local non-aodv vers RéseauCitoyen
* '''olsrd''': OLSR configuré pour RéseauCitoyen
/!\ Il semble que l'ipkg de OpenWrt ne supporte pas la clause ''Conflicts'' des paquets...<br />'''Ne pas installer plusieurs de ces paquets en même temps!'''
Exemple:
root@wrt-bulles:~# ipkg install aodv-uu-ipt
AODV est démarré automatiquement au boot.<br />Pour le démarrer/arreter manuellement:
root@wrt-bulles:~# /etc/init.d/S47aodv-uu {start|stop}
Le fichier de configuration ''/etc/aodv-uu.cfg'' permet de le désactiver ou le configurer.
== Paquet Bonus ==
En bonus, un ficher ''host'' récent est disponible sur le ''feed'':
ipkg install hosts-file
[[Anchor(rapide)]]
= Installation Rapide =
La distribution a été mise a jour...
En attendant une meilleure documentation voici les étapes pour une installation rapide d'un WRT neuf
== Firmware ==
Flasher le firmware à partir de l'interface web
== Paquets ==
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
Mise a jour de /etc/ipkg.conf
src bulles http://192.168.1.2/openwrt/feeds/stable
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
Installez tous les paquets
@wrt-bulles:/# ipkg install dropbear rc-tools rc-www aodv-uu-ipt rc-watchdog hosts-file
Configurez le wrt
<br />Convention: exemple pour le wrt 5:
@wrt-bulles:/# rc-setup -h
Usage: /sbin/rc-setup [options]
Options:
-H|--hostname <hostname> set hostname
-l|--lan <addr> set IP Address on the LAN (switch) (*)
--[no]dhcp Enable/Disable DHCP server on the LAN
-g|--gateway <gateway> set (internet) gateway (lan side)
-w|--wan <addr> set IP Address on the WAN port (*)
-r|--rate {0|1|2|5.5|11} set Wireless rate (0 = Auto)
Special Options: (You should normally not need these)
--lanif <lan iface> override LAN Interface (vlan0/2)
--wanif <wan iface> override WAN Interface (vlan1)
--wifiif <wifi iface> override Wireless Interface (eth1/2)
@wrt-bulles:/# rc-setup -H rcwrt-05 -l 192.168.29.135 --dhcp -w 192.168.30.135 -r 2
'''Rebootez'''
@wrt-bulles:/# reboot
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
Testez l'install
Changez /etc/ipkg.conf en une adresse RC
src bulles http://bulles.bxl.rc/openwrt/feeds/stable
dest root /
dest ram /tmp
Noeud Bulles
0
1317
1330
2005-09-27T22:01:34Z
Phil
1
wikitext
text/x-wiki
= Bienvenue sur le noeud Bulles =
Bienvenue sur le noeud RéseauCitoyen des Bulles!
'''Note''': Bien que ce serveur Web soit aussi visible sur Internet, certains liens de cette page ne sont disponibles que via RéseauCitoyen
/!\ /!\ 11 Aout 2005: Le serveur est en cour de migration, certains services ne sont pas disponibles /!\ /!\
== Services disponibles sur ce noeud ==
* '''Le wiki des Bulles''': Vous y êtes! C'est ici! <br />C'est un Wiki essentiellment technique supportant des projets RéseauCitoyen. <br />Quelques pointeurs
** [[Bubble]]: Distribution RéseauCitoyen minimaliste (floppy, ...) <br />La distribution est en réécriture pour l'instant!
** [[RC-1000]]: Distribution RéseauCitoyen pour RG-1000
** [[Opération Panik]]: Setup de noeuds en vue de streaming audio
* Un '''serveur de temps''' (NTP) de Stratum 3
* Le '''[http://{{SERVERNAME}}/cgi-bin/viewcvs.cgi/ReseauCitoyen CVS]''': Code sources de projets RéseauCitoyen
** [http://{{SERVERNAME}}/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble Bubble]: Distribution Bubble
** [http://{{SERVERNAME}}/cgi-bin/viewcvs.cgi/ReseauCitoyen/OpenWRT/ WRT Citoyen]: Distribution OpenWRT avec les packages RéseauCitoyen
** [http://{{SERVERNAME}}/cgi-bin/viewcvs.cgi/ReseauCitoyen/RC-1000/ RC-1000]: Distribution RG-1000
** [http://{{SERVERNAME}}/cgi-bin/viewcvs.cgi/ReseauCitoyen/aodv-uu-ipt/ AODV-IPT]: AODV-UU 0.8.1 avec les patches iptables
** [http://{{SERVERNAME}}/cgi-bin/viewcvs.cgi/ReseauCitoyen/rc-watchdog/ RC-Watchdog]: Script de monitoring de noeud
** [http://{{SERVERNAME}}/cgi-bin/viewcvs.cgi/ReseauCitoyen/dnsp2p/ DNS Peer to Peer]: implementation en Python réalisée par Gaëtan Kowalkowski
* '''[http://{{SERVERNAME}}/nagios/ Monitoring du réseau]''': Monitoring réalisé avec Nagios
* '''[http://{{SERVERNAME}}/rc1000/ Feed RC-1000]''': Distribution et Package Feed pour la distribution [[RC-1000]]
* '''[http://{{SERVERNAME}}/openwrt/ Feed OpenWrt]''': Distribution et Package Feed pour la distribution !OpenWrt (Voire aussi AodvOpenWrt)
* '''[http://{{SERVERNAME}}/i386/ Binaires i386]''': Noyeau et binaires AODV pour une install facile sous Linux, paquet Debian pour OLSR, ...
* '''[http://{{SERVERNAME}}/mtx/ Feed MeshCube]''': Distribution et Package Feed pour la distribution Nylon (Voire aussi [[MeshCube]])
== Services en projet ==
* Serveur Jabber
*''Ajoutez ici vos souhaits!''
* ...
Routing and firewall
0
1294
1331
1299
2005-09-27T22:06:58Z
Phil
1
wikitext
text/x-wiki
{{Outdated}}
= Rules =
http://bulles.topgame.be/ReseauCitoyen/bubble_01.png
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
||| ||||||||To
|-
||| ||Node||10.0.0.0/8 subnet (AODV)||172.1x.xx.x0/28 (DHCP)||Wired interface
|-
|<|4>From||Node||||||||bgcolor="#ddffdd"|No restriction
|-
|10.0.0.0/8 subnet (AODV)||bgcolor="#ddffdd"|ICMP/SSH/HTTP||bgcolor="#ddffdd"|No restriction||bgcolor="#ffddff"|Blocked||bgcolor="#ffddff"|Blocked by default (Access can be given with additional rules)
|-
|172.1x.xx.x0/28 (DHCP)||bgcolor="#ddffdd"|ICMP/SSH/HTTP||bgcolor="#ddffdd"|No restriction (Masquerade)||bgcolor="#ffcc99"|N/A||bgcolor="#ffddff"|Blocked by default (Access can be given with additional rules)
|-
|Wired interface||bgcolor="#ddffdd"|No restriction||||bgcolor="#ddffdd"|No restriction (Masquerade)||bgcolor="#ffcc99"|N/A
|}
= [[DiskLess]] =
Notes about the testing done on the [[DiskLess]] scripts ([http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/[[DiskLess]]/add-ons/sources/bulles_skeleton/etc/init.d/rc.firewall.sh?rev=HEAD&content-type=text/vnd.viewcvs-markup View Script])
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
||| ||||||||To
|-
||| ||Node||10.0.0.0/8 subnet (AODV)||172.1x.xx.x0/28 (DHCP)||Wired interface
|-
|rowspan="4"|From||Node||||||||bgcolor="#ddffdd"|OK
|-
|10.0.0.0/8 subnet (AODV)||bgcolor="#ddffdd"|OK (AODV works as expected)||bgcolor="#ff5555"|Not tested||bgcolor="#ff5555"|Not tested||bgcolor="#ffddff"|OK (Also tested when the gateways is 'open'; additional FORWARD rule:"$IPTABLES -I FORWARD -i $WIFI_IF -o $LAN_IF -m mac --mac-source 00:02:2D:29:91:6B -j ACCEPT" -- not masqueraded)
|-
|172.1x.xx.x0/28 (DHCP)||bgcolor="#ddffdd"|OK (DHCP Allocates address as expected)<br />fixed in [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/DiskLess/add-ons/sources/bulles_skeleton/etc/init.d/rc.firewall.sh?rev=HEAD&content-type=text/vnd.viewcvs-markup rc.firewall.sh 1.5]||bgcolor="#ff5555"|Not tested||bgcolor="#ffcc99"|N/A||bgcolor="#ffddff"|OK (Same as above)
|-
|Wired interface||bgcolor="#ddffdd"|OK||||bgcolor="#ddffdd"|OK (Masquerade works)||bgcolor="#ffcc99"|N/A
|}
[[Category:Bubble]]
MediaWiki:Sidebar
8
987
1335
987
2005-09-28T12:30:48Z
Phil
1
wikitext
text/x-wiki
* navigation
** mainpage|mainpage
** bulles-url|bulles
** portal-url|portal
** currentevents-url|currentevents
** recentchanges-url|recentchanges
** randompage-url|randompage
** helppage|help
MediaWiki:Bulles
8
1318
1336
2005-09-28T12:33:10Z
Phil
1
wikitext
text/x-wiki
Noeud Bulles
MediaWiki:Bulles-url
8
1319
1337
2005-09-28T12:33:51Z
Phil
1
wikitext
text/x-wiki
Noeud Bulles
Help:Contents
12
1320
1338
2005-09-28T13:06:50Z
Phil
1
wikitext
text/x-wiki
= Help =
* [[MetaWikiPedia:Help:Contents|MediaWiki User's Guide]]
* [[MetaWikiPedia:Help:Wiki markup examples|Help:Wiki markup examples]]
= Aide =
* [[MetaWikiPedia:Aide:Manuel de MediaWiki|Aide:Manuel de MediaWiki]]
* [[MetaWikiPedia:Aide:Syntaxe wiki|Aide:Syntaxe wiki]]
MediaWiki:Help
8
535
1339
535
2005-09-28T13:08:34Z
Phil
1
wikitext
text/x-wiki
Help / Aide
MediaWiki:Portal
8
836
1340
836
2005-09-28T13:33:54Z
Phil
1
wikitext
text/x-wiki
About / À propos
1351
1340
2005-09-28T14:02:42Z
Phil
1
wikitext
text/x-wiki
About - À propos
MediaWiki:Currentevents
8
150
1341
150
2005-09-28T13:34:33Z
Phil
1
wikitext
text/x-wiki
News / Niouz
1347
1341
2005-09-28T13:58:23Z
Phil
1
wikitext
text/x-wiki
News / Actualités
1352
1347
2005-09-28T14:03:44Z
Phil
1
wikitext
text/x-wiki
News - Actualités
MediaWiki:Recentchanges
8
903
1342
903
2005-09-28T13:55:45Z
Phil
1
wikitext
text/x-wiki
Recent changes
<br />Modifications récentes
1343
1342
2005-09-28T13:56:16Z
Phil
1
wikitext
text/x-wiki
Recent changes
Modifications récentes
1344
1343
2005-09-28T13:56:40Z
Phil
1
wikitext
text/x-wiki
Recent changes /
Modifications récentes
MediaWiki:Randompage
8
886
1345
886
2005-09-28T13:57:22Z
Phil
1
wikitext
text/x-wiki
Random page / Une page au hazard
1346
1345
2005-09-28T13:57:38Z
Phil
1
wikitext
text/x-wiki
Random page /
Une page au hazard
MediaWiki:Mainpage
8
655
1348
655
2005-09-28T13:58:58Z
Phil
1
wikitext
text/x-wiki
Main Page / Accueil
1350
1348
2005-09-28T14:02:18Z
Phil
1
wikitext
text/x-wiki
Main Page - Accueil
MediaWiki:Search
8
953
1349
953
2005-09-28T14:01:14Z
Phil
1
wikitext
text/x-wiki
Search - Rechercher
MediaWiki:Recentchanges
8
903
1353
1344
2005-09-28T14:04:16Z
Phil
1
wikitext
text/x-wiki
Recent changes - Modifications récentes
MediaWiki:Randompage
8
886
1354
1346
2005-09-28T14:04:41Z
Phil
1
wikitext
text/x-wiki
Random page - Une page au hazard
MediaWiki:Help
8
535
1355
1339
2005-09-28T14:05:13Z
Phil
1
wikitext
text/x-wiki
Help - Aide
MediaWiki:Toolbox
8
1072
1356
1072
2005-09-28T14:06:32Z
Phil
1
wikitext
text/x-wiki
Toolbox - Boîte à outils
MediaWiki:Sidebar
8
987
1357
1335
2005-09-28T14:10:16Z
Phil
1
wikitext
text/x-wiki
* navigation
** mainpage-url|mainpage
** bulles-url|bulles
** portal-url|portal
** currentevents-url|currentevents
** recentchanges-url|recentchanges
** randompage-url|randompage
** helppage|help
MediaWiki:Mainpage-url
8
1321
1358
2005-09-28T14:11:01Z
Phil
1
wikitext
text/x-wiki
Main Page
Main Page - Accueil
0
1322
1359
2005-09-29T08:31:39Z
Phil
1
wikitext
text/x-wiki
#redirect Main Page
1360
1359
2005-09-29T08:33:53Z
Phil
1
wikitext
text/x-wiki
#redirect [[Main Page]]
Main Page
0
1
1361
1334
2005-10-03T19:21:07Z
Phil
1
/* Contents */
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
1397
1361
2006-11-19T10:37:33Z
Fraseyboy
2
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
[http://www.gambling-online-theory.com/casinos/strategy-casinos.html strategy casinos]
[http://www.casinos-new.com/poker.html Online casino - Poker in casino]
[http://www.fortune-slots.com/ slots]
[http://www.gambling-online-theory.com/casinos-portal/best-casinos-online.html best casinos online]
[http://www.slots-wiki.com/index.php/online_slots online slots]
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.casino-theory.com/online-casino-royale/online-casino-gamble.html online casino gamble]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
Bering-uClibc
0
1323
1362
2005-10-03T20:07:52Z
Phil
1
wikitext
text/x-wiki
= Introduction =
[http://leaf.sourceforge.net/ LEAF] [http://leaf.sourceforge.net/bering-uclibc/ Bering-uClibc] is a Linux embedded network appliance based on the [http://www.uclibc.org/ uClibc] library.
It is an attractive alternative to [[Bubble]].
<br />Actually the target is very similar and they have almost the same pros and cons...
The objective of this small project is to build an [[Bering-uClibc]] environment that can be used as node for [http://www.reseaucitoyen.be RéseauCitoyen].
= Articles =
* [[Buildtool]]: creating a [[Bering-uClibc]] development environment
= Links =
* [http://leaf.sourceforge.net/ LEAF]: Main site of the Linux Embedded Appliance Firewall project
* [http://leaf.sourceforge.net/bering-uclibc/ Bering-uClibc]: home LEAF Bering-uClibc
* [http://leaf.sourceforge.net/doc/guide/buc-buildtool.html Buildtool in Bering-uClibc]
[[Category:Bering-uClibc]]
1367
1362
2005-10-04T18:06:12Z
Phil
1
wikitext
text/x-wiki
= Introduction =
[http://leaf.sourceforge.net/ LEAF] [http://leaf.sourceforge.net/bering-uclibc/ Bering-uClibc] is a Linux embedded network appliance based on the [http://www.uclibc.org/ uClibc] library.
It is an attractive alternative to [[Bubble]].
<br />Actually the target is very similar and they have almost the same pros and cons...
The objective of this small project is to build an [[Bering-uClibc]] environment that can be used as node for [http://www.reseaucitoyen.be RéseauCitoyen].
= Articles =
* [[Buildtool]]: creating a [[Bering-uClibc]] development environment
* [[Bering-uClibc on Compact-Flash]]: Preparing a CF to run [[Bering-uClibc]]
= Links =
* [http://leaf.sourceforge.net/ LEAF]: Main site of the Linux Embedded Appliance Firewall project
* [http://leaf.sourceforge.net/bering-uclibc/ Bering-uClibc]: home LEAF Bering-uClibc
* [http://leaf.sourceforge.net/doc/guide/buc-buildtool.html Buildtool in Bering-uClibc]
[[Category:Bering-uClibc]]
1370
1367
2005-10-04T19:47:50Z
Phil
1
/* Links */
wikitext
text/x-wiki
= Introduction =
[http://leaf.sourceforge.net/ LEAF] [http://leaf.sourceforge.net/bering-uclibc/ Bering-uClibc] is a Linux embedded network appliance based on the [http://www.uclibc.org/ uClibc] library.
It is an attractive alternative to [[Bubble]].
<br />Actually the target is very similar and they have almost the same pros and cons...
The objective of this small project is to build an [[Bering-uClibc]] environment that can be used as node for [http://www.reseaucitoyen.be RéseauCitoyen].
= Articles =
* [[Buildtool]]: creating a [[Bering-uClibc]] development environment
* [[Bering-uClibc on Compact-Flash]]: Preparing a CF to run [[Bering-uClibc]]
= Links =
* [http://leaf.sourceforge.net/ LEAF]: Main site of the Linux Embedded Appliance Firewall project
* [http://leaf.sourceforge.net/bering-uclibc/ Bering-uClibc]: home LEAF Bering-uClibc
* [http://leaf.sourceforge.net/doc/guide/buc-buildtool.html Buildtool in Bering-uClibc]
* [http://cvs.sourceforge.net/viewcvs.py/*checkout*/leaf/devel/alexrh/lck/README.html?rev=1.1.1.1 LCK]: LEAF Construction Kit
[[Category:Bering-uClibc]]
Buildtool
0
1324
1363
2005-10-03T21:11:03Z
Phil
1
wikitext
text/x-wiki
= Introduction =
The [[Buildtool]] is the [[Bering-uClibc]] development environment.
The steps to get everything up and running are described in the [http://leaf.sourceforge.net/doc/guide/buc-buildtool.html Bering uClibc Developers Guide].
This article summarize the issues I had when building the environment.
All thsi is based on [[Bering-uClibc]] 2.3 rc1
= Fetching the sources =
./buildtool.pl source
No particular problem here... As usual some sources did not download at first try, but eventually all went trough.
Note that ''wget'' leaves an empty file when the download fails, so that the Buildtool thinks it is already downloaded. So when it fails, the package source need to be cleaned up.
= Compiling the sources =
./buildtool.pl build
All the packages but 3 are compiling...
== LrpStat ==
To be able to build this packages, we need to have:
* A recent Java SDK (1.4) -- I have used the [http://java.sun.com/j2se/corejava/index.jsp J2SE from Sun]
* The ''classes.zip'' from a 1.1 SDK -- After some investigations, I found one at [http://www.blackdown.org Blackdown] (jdk118_v3)
The detection mechanism of the setup script is not bullet proof, but the following incantation will work:
JAVA_HOME=/usr/local/j2sdk1.4.2_09 CLASSES=/usr/local/jdk118_v3/lib/classes.zip ./buildtool.pl build lrpstat
== MadWifi ==
After install, the makefile runs a ''depmod'' which returns a non zero return code and the make fails.
In ''source/madwifi/madwifi/Makefile'', just make the following changes:
@if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
into
-if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
(We just change the ''@'' in ''-'')
== Pptpd ==
For whatever reason the ''source/pptpd/pptpd-1.2.3/Makefile'' contains references to aclocal-1.9 and automake-1.9 while we have 1.8 installed in the Buildtool stage...
I have changed the ''version'' in teh Makefile and now it compiles!
= Packages =
The ''buidpacket.pl'' is used to generate ''.lrp'' from the builds.
== buildall.sh script ==
Unfortunately, you cannot generate all the packages at once... This is when I discovered the ''tools/buildall.sh'' script!
<br />This little shell script can actually setup the whole environment:
* Fetch the sources
* Run the build
* Generate all the packages
It produce a neat HTML report, with a link to the log files, one log file per source.
Unfortunately, the script overwrites the ''buidpacket.pl'' log files, so you cannot what is going wrong at that stage.
This little fix will help in tracing the issues
diff -u -r1.6 buildall.sh
--- buildall.sh 21 Mar 2005 00:56:02 -0000 1.6
+++ buildall.sh 3 Oct 2005 20:59:13 -0000
@@ -51,13 +51,13 @@
}
call_buildpacket() {
- echo "-------------------------" >> $MYDIR/$name.build.txt 2>&1
+ echo "-------------------------" >> $BTLOGFILE 2>&1
# check if it has a package definition in it:
grep -q '<Package>' $BTSOURCEDIR/$1/buildtool.cfg 2>/dev/null
if [ $? -eq 0 ] ; then
- echo "calling buildpacket for $1 " >> $MYDIR/$name.build.txt 2>&1
+ echo "calling buildpacket for $1 " >> $BTLOGFILE 2>&1
- fakeroot $BPBIN --package=$1 --all >> $MYDIR/$name.build.txt 2>&1
+ fakeroot $BPBIN --package=$1 --all >> $BTLOGFILE 2>&1
ret=$?
if [ $ret -eq 0 ] ; then
echo -n "<font color=green>OK</font>"
== Gpio ==
The ''source/gpio/buildtool.cfg'' is not taking the driver from the right location.
<br />The correct entry should be
<File>
Filename = lib/modules/gpio.o
Source = lib/modules/2.4.31/gpio/gpio.o
Type = binary
Permissions = 644
</File>
== Initrd ==
Doesn't build with ''fakeroot'', we really have to ''sudo'' to package this one...
sudo ./buildpacket.pl --package=initrd --all
== Shorewall ==
''buildpacket.pl'' fails because the ''cp'' command returns a non-zero status code on ''/etc/shorewall/*''.
[[Category:Bering-uClibc]]
1365
1363
2005-10-03T22:18:18Z
Phil
1
/* Shorewall */
wikitext
text/x-wiki
= Introduction =
The [[Buildtool]] is the [[Bering-uClibc]] development environment.
The steps to get everything up and running are described in the [http://leaf.sourceforge.net/doc/guide/buc-buildtool.html Bering uClibc Developers Guide].
This article summarize the issues I had when building the environment.
All thsi is based on [[Bering-uClibc]] 2.3 rc1
= Fetching the sources =
./buildtool.pl source
No particular problem here... As usual some sources did not download at first try, but eventually all went trough.
Note that ''wget'' leaves an empty file when the download fails, so that the Buildtool thinks it is already downloaded. So when it fails, the package source need to be cleaned up.
= Compiling the sources =
./buildtool.pl build
All the packages but 3 are compiling...
== LrpStat ==
To be able to build this packages, we need to have:
* A recent Java SDK (1.4) -- I have used the [http://java.sun.com/j2se/corejava/index.jsp J2SE from Sun]
* The ''classes.zip'' from a 1.1 SDK -- After some investigations, I found one at [http://www.blackdown.org Blackdown] (jdk118_v3)
The detection mechanism of the setup script is not bullet proof, but the following incantation will work:
JAVA_HOME=/usr/local/j2sdk1.4.2_09 CLASSES=/usr/local/jdk118_v3/lib/classes.zip ./buildtool.pl build lrpstat
== MadWifi ==
After install, the makefile runs a ''depmod'' which returns a non zero return code and the make fails.
In ''source/madwifi/madwifi/Makefile'', just make the following changes:
@if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
into
-if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
(We just change the ''@'' in ''-'')
== Pptpd ==
For whatever reason the ''source/pptpd/pptpd-1.2.3/Makefile'' contains references to aclocal-1.9 and automake-1.9 while we have 1.8 installed in the Buildtool stage...
I have changed the ''version'' in teh Makefile and now it compiles!
= Packages =
The ''buidpacket.pl'' is used to generate ''.lrp'' from the builds.
== buildall.sh script ==
Unfortunately, you cannot generate all the packages at once... This is when I discovered the ''tools/buildall.sh'' script!
<br />This little shell script can actually setup the whole environment:
* Fetch the sources
* Run the build
* Generate all the packages
It produce a neat HTML report, with a link to the log files, one log file per source.
Unfortunately, the script overwrites the ''buidpacket.pl'' log files, so you cannot what is going wrong at that stage.
This little fix will help in tracing the issues
diff -u -r1.6 buildall.sh
--- buildall.sh 21 Mar 2005 00:56:02 -0000 1.6
+++ buildall.sh 3 Oct 2005 20:59:13 -0000
@@ -51,13 +51,13 @@
}
call_buildpacket() {
- echo "-------------------------" >> $MYDIR/$name.build.txt 2>&1
+ echo "-------------------------" >> $BTLOGFILE 2>&1
# check if it has a package definition in it:
grep -q '<Package>' $BTSOURCEDIR/$1/buildtool.cfg 2>/dev/null
if [ $? -eq 0 ] ; then
- echo "calling buildpacket for $1 " >> $MYDIR/$name.build.txt 2>&1
+ echo "calling buildpacket for $1 " >> $BTLOGFILE 2>&1
- fakeroot $BPBIN --package=$1 --all >> $MYDIR/$name.build.txt 2>&1
+ fakeroot $BPBIN --package=$1 --all >> $BTLOGFILE 2>&1
ret=$?
if [ $ret -eq 0 ] ; then
echo -n "<font color=green>OK</font>"
== Gpio ==
The ''source/gpio/buildtool.cfg'' is not taking the driver from the right location.
<br />The correct entry should be
<File>
Filename = lib/modules/gpio.o
Source = lib/modules/2.4.31/gpio/gpio.o
Type = binary
Permissions = 644
</File>
== Initrd ==
Doesn't build with ''fakeroot'', we really have to ''sudo'' to package this one...
sudo ./buildpacket.pl --package=initrd --all
== Shorewall ==
''buildpacket.pl'' fails because the ''cp'' command returns a non-zero status code on ''/etc/shorewall/*''.
The problem is that the ''weblet'' package creates directories in ''/etc/shorewall/'', which makes that ''cp'' issues warnings.
Workaround is to build ''weblet'' after ''shorewall'' is '''packaged''', but this is a bit annoying: it just works the first time, after that you have to ''buildclean'' both packages.
I prefer to tweak the pattern matching in ''source/shorewall/buildtool.cfg'' -- this is not bullet proof, but good enough
<File>
Filename = etc/shorewall/
Source = etc/shorewall/*[^.]?
Permissions = 600
Type = binary
</File>
[[Category:Bering-uClibc]]
1366
1365
2005-10-03T22:35:42Z
Phil
1
wikitext
text/x-wiki
= Introduction =
The [[Buildtool]] is the [[Bering-uClibc]] development environment.
The steps to get everything up and running are described in the [http://leaf.sourceforge.net/doc/guide/buc-buildtool.html Bering uClibc Developers Guide].
This article summarize the issues I had when building the environment.
All thsi is based on [[Bering-uClibc]] 2.3 rc1
= Fetching the sources =
./buildtool.pl source
No particular problem here... As usual some sources did not download at first try, but eventually all went trough.
Note that ''wget'' leaves an empty file when the download fails, so that the Buildtool thinks it is already downloaded. So when it fails, the package source need to be cleaned up.
= Compiling the sources =
./buildtool.pl build
All the packages but 3 are compiling...
== LrpStat ==
To be able to build this packages, we need to have:
* A recent Java SDK (1.4) -- I have used the [http://java.sun.com/j2se/corejava/index.jsp J2SE from Sun]
* The ''classes.zip'' from a 1.1 SDK -- After some investigations, I found one at [http://www.blackdown.org Blackdown] (jdk118_v3)
The detection mechanism of the setup script is not bullet proof, but the following incantation will work:
JAVA_HOME=/usr/local/j2sdk1.4.2_09 CLASSES=/usr/local/jdk118_v3/lib/classes.zip ./buildtool.pl build lrpstat
== MadWifi ==
After install, the makefile runs a ''depmod'' which returns a non zero return code and the make fails.
In ''source/madwifi/madwifi/Makefile'', just make the following changes:
@if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
into
-if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
(We just change the ''@'' in ''-'')
== Pptpd ==
For whatever reason the ''source/pptpd/pptpd-1.2.3/Makefile'' contains references to aclocal-1.9 and automake-1.9 while we have 1.8 installed in the Buildtool stage...
I have changed the ''version'' in teh Makefile and now it compiles!
= Packages =
The ''buidpacket.pl'' is used to generate ''.lrp'' from the builds.
== buildall.sh script ==
Unfortunately, you cannot generate all the packages at once... This is when I discovered the ''tools/buildall.sh'' script!
<br />This little shell script can actually setup the whole environment:
* Fetch the sources
* Run the build
* Generate all the packages
It produce a neat HTML report, with a link to the log files, one log file per source.
Unfortunately, the script overwrites the ''buidpacket.pl'' log files, so you cannot what is going wrong at that stage.
This little fix will help in tracing the issues
diff -u -r1.6 buildall.sh
--- buildall.sh 21 Mar 2005 00:56:02 -0000 1.6
+++ buildall.sh 3 Oct 2005 20:59:13 -0000
@@ -51,13 +51,13 @@
}
call_buildpacket() {
- echo "-------------------------" >> $MYDIR/$name.build.txt 2>&1
+ echo "-------------------------" >> $BTLOGFILE 2>&1
# check if it has a package definition in it:
grep -q '<Package>' $BTSOURCEDIR/$1/buildtool.cfg 2>/dev/null
if [ $? -eq 0 ] ; then
- echo "calling buildpacket for $1 " >> $MYDIR/$name.build.txt 2>&1
+ echo "calling buildpacket for $1 " >> $BTLOGFILE 2>&1
- fakeroot $BPBIN --package=$1 --all >> $MYDIR/$name.build.txt 2>&1
+ fakeroot $BPBIN --package=$1 --all >> $BTLOGFILE 2>&1
ret=$?
if [ $ret -eq 0 ] ; then
echo -n "<font color=green>OK</font>"
== Gpio ==
The ''source/gpio/buildtool.cfg'' is not taking the driver from the right location.
<br />The correct entry should be
<File>
Filename = lib/modules/gpio.o
Source = lib/modules/2.4.31/gpio/gpio.o
Type = binary
Permissions = 644
</File>
== Initrd ==
Doesn't build with ''fakeroot'', we really have to ''sudo'' to package this one...
sudo ./buildpacket.pl --package=initrd --all
== Shorewall ==
''buildpacket.pl'' fails because the ''cp'' command returns a non-zero status code on ''/etc/shorewall/*''.
The problem is that the ''weblet'' package creates directories in ''/etc/shorewall/'', which makes that ''cp'' issues warnings.
Workaround is to build ''weblet'' after ''shorewall'' is '''packaged''', but this is a bit annoying: it just works the first time, after that you have to ''buildclean'' both packages.
I prefer to tweak the pattern matching in ''source/shorewall/buildtool.cfg'' -- this is not bullet proof, but good enough
<File>
Filename = etc/shorewall/
Source = etc/shorewall/*[^.]?
Permissions = 600
Type = binary
</File>
= Summary =
In order to build the whole environement:
# Get all the sources
# Apply the couple of fixes described above
# Build the whole stuff with: <br />''JAVA_HOME=/usr/local/j2sdk1.4.2_09 CLASSES=/usr/local/jdk118_v3/lib/classes.zip ./tools/buildall.sh''
# Package the initrd manually: <br />''sudo ./buildpacket.pl --package=initrd --all''
[[Category:Bering-uClibc]]
1373
1366
2005-10-05T11:41:04Z
Phil
1
wikitext
text/x-wiki
= Introduction =
The [[Buildtool]] is the [[Bering-uClibc]] development environment.
The steps to get everything up and running are described in the [http://leaf.sourceforge.net/doc/guide/buc-buildtool.html Bering uClibc Developers Guide].
This article summarize the issues I had when building the environment.
All this is based on [[Bering-uClibc]] 2.3 rc1
= Fetching the sources =
./buildtool.pl source
No particular problem here... As usual some sources did not download at first try, but eventually all went trough.
Note that ''wget'' leaves an empty file when the download fails, and that the Buildtool thinks it is already downloaded. So when it fails, the package source needs to be cleaned up.
= Compiling the sources =
./buildtool.pl build
All the packages but 3 are compiling...
== LrpStat ==
To be able to build this package, we need to have:
* A recent Java SDK (1.4) -- I have used the [http://java.sun.com/j2se/corejava/index.jsp J2SE from Sun]
* The ''classes.zip'' from a 1.1 SDK -- After some investigations, I found one at [http://www.blackdown.org Blackdown] (jdk118_v3)
The detection mechanism of the setup script is not bullet proof, but the following incantation will work:
JAVA_HOME=/usr/local/j2sdk1.4.2_09 CLASSES=/usr/local/jdk118_v3/lib/classes.zip ./buildtool.pl build lrpstat
== MadWifi ==
After install, the makefile runs a ''depmod'' that returns a non-zero return code and the make fails.
In ''source/madwifi/madwifi/Makefile'', just make the following changes:
@if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
into
-if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
(We just change the ''@'' in ''-'')
== Pptpd ==
For whatever reason the ''source/pptpd/pptpd-1.2.3/Makefile'' contains references to aclocal-1.9 and automake-1.9 while we have 1.8 installed in the Buildtool stage...
I have changed the ''version'' in the Makefile and now it compiles!
= Packages =
The ''buidpacket.pl'' is used to generate ''.lrp'' from the builds.
== buildall.sh script ==
Unfortunately, you cannot generate all the packages at once... This is when I discovered the ''tools/buildall.sh'' script!
<br />This little shell script can actually setup the whole environment:
* Fetch the sources
* Run the build
* Generate all the packages
It produce a neat HTML report, with a link to the log files, one log file per source.
Unfortunately, the script overwrites the ''buidpacket.pl'' log files, so you cannot what is going wrong at that stage.
This little fix will help in tracing the issues
diff -u -r1.6 buildall.sh
--- buildall.sh 21 Mar 2005 00:56:02 -0000 1.6
+++ buildall.sh 3 Oct 2005 20:59:13 -0000
@@ -51,13 +51,13 @@
}
call_buildpacket() {
- echo "-------------------------" >> $MYDIR/$name.build.txt 2>&1
+ echo "-------------------------" >> $BTLOGFILE 2>&1
# check if it has a package definition in it:
grep -q '<Package>' $BTSOURCEDIR/$1/buildtool.cfg 2>/dev/null
if [ $? -eq 0 ] ; then
- echo "calling buildpacket for $1 " >> $MYDIR/$name.build.txt 2>&1
+ echo "calling buildpacket for $1 " >> $BTLOGFILE 2>&1
- fakeroot $BPBIN --package=$1 --all >> $MYDIR/$name.build.txt 2>&1
+ fakeroot $BPBIN --package=$1 --all >> $BTLOGFILE 2>&1
ret=$?
if [ $ret -eq 0 ] ; then
echo -n "<font color=green>OK</font>"
== Gpio ==
The ''source/gpio/buildtool.cfg'' is not taking the driver from the right location.
<br />The correct entry should be
<File>
Filename = lib/modules/gpio.o
Source = lib/modules/2.4.31/gpio/gpio.o
Type = binary
Permissions = 644
</File>
== Initrd ==
Doesn't build with ''fakeroot'', we really have to ''sudo'' to package this one...
sudo ./buildpacket.pl --package=initrd --all
== Shorewall ==
''buildpacket.pl'' fails because the ''cp'' command returns a non-zero status code on ''/etc/shorewall/*''.
The problem is that the ''weblet'' package creates directories in ''/etc/shorewall/'', which makes that ''cp'' issues warnings.
Workaround is to build ''weblet'' after ''shorewall'' is '''packaged''', but this is a bit annoying: it just works the first time, after that you have to ''buildclean'' both packages.
I prefer to tweak the pattern matching in ''source/shorewall/buildtool.cfg'' -- this is not bullet proof, but good enough
<File>
Filename = etc/shorewall/
Source = etc/shorewall/*[^.]?
Permissions = 600
Type = binary
</File>
= What else do we need? =
We have now all the packages in the ''package'' directory, but we need a couple of other things to build an image...
<br />The ''tools'' directory has a couple of scripts to build images, but they fetch binaries from the Internet, which is obviously not what I wanted to do...
So what else do we need?
== Linux kernel ==
The kernel is available as ''build/kernel/bzimage-2.4.31-upx'' and just need to be renamed in ''linux''
== SysLinux and Leaf config files ==
Templates for ''syslinux.cfg'' and ''leaf.cfg'' are available in ''tools/image/fd'' and ''tools/image/iso'' diectories
== Readme and banner ==
The ''readme'' file and the ''syslinux.dpy'' banner templates are available in the ''tools/image'' directory.
Build date and version need to be substituted.
Note that the banner does not look too good on an old VT200 screen, and should be cleaned up if your console is on the serial port!
== WebConf plugins ==
The webconf plugins (.lwp files) are not part of the buildroot and need to be fetched from http://cvs.sourceforge.net/viewcvs.py/leaf/devel/nangel/webconf/lrp/ .
== Linux kernel modules ==
The Linux kernel modules are available in ''build/kernel/lib/modules''.
= Summary =
In order to build the whole environment:
# Get all the sources
# Apply the couple of fixes described above
# Build the whole stuff with: <br />''JAVA_HOME=/usr/local/j2sdk1.4.2_09 CLASSES=/usr/local/jdk118_v3/lib/classes.zip ./tools/buildall.sh''
# Package the initrd manually: <br />''sudo ./buildpacket.pl --package=initrd --all''
# To make your own images, grab your selection of packages and the required additional files!
[[Category:Bering-uClibc]]
1376
1373
2005-10-10T21:39:11Z
Phil
1
/* Initrd */
wikitext
text/x-wiki
= Introduction =
The [[Buildtool]] is the [[Bering-uClibc]] development environment.
The steps to get everything up and running are described in the [http://leaf.sourceforge.net/doc/guide/buc-buildtool.html Bering uClibc Developers Guide].
This article summarize the issues I had when building the environment.
All this is based on [[Bering-uClibc]] 2.3 rc1
= Fetching the sources =
./buildtool.pl source
No particular problem here... As usual some sources did not download at first try, but eventually all went trough.
Note that ''wget'' leaves an empty file when the download fails, and that the Buildtool thinks it is already downloaded. So when it fails, the package source needs to be cleaned up.
= Compiling the sources =
./buildtool.pl build
All the packages but 3 are compiling...
== LrpStat ==
To be able to build this package, we need to have:
* A recent Java SDK (1.4) -- I have used the [http://java.sun.com/j2se/corejava/index.jsp J2SE from Sun]
* The ''classes.zip'' from a 1.1 SDK -- After some investigations, I found one at [http://www.blackdown.org Blackdown] (jdk118_v3)
The detection mechanism of the setup script is not bullet proof, but the following incantation will work:
JAVA_HOME=/usr/local/j2sdk1.4.2_09 CLASSES=/usr/local/jdk118_v3/lib/classes.zip ./buildtool.pl build lrpstat
== MadWifi ==
After install, the makefile runs a ''depmod'' that returns a non-zero return code and the make fails.
In ''source/madwifi/madwifi/Makefile'', just make the following changes:
@if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
into
-if [ -z $(DESTDIR) ]; then \
/sbin/depmod -ae ; \
elif [ -f $(SYSTEMMAP) ]; then \
/sbin/depmod -ae -b $(DESTDIR) -F $(SYSTEMMAP) $(KERNELRELEASE) ; \
else \
echo "Don't forget to run \"depmod -ae\" on the target system."; \
fi
(We just change the ''@'' in ''-'')
== Pptpd ==
For whatever reason the ''source/pptpd/pptpd-1.2.3/Makefile'' contains references to aclocal-1.9 and automake-1.9 while we have 1.8 installed in the Buildtool stage...
I have changed the ''version'' in the Makefile and now it compiles!
= Packages =
The ''buidpacket.pl'' is used to generate ''.lrp'' from the builds.
== buildall.sh script ==
Unfortunately, you cannot generate all the packages at once... This is when I discovered the ''tools/buildall.sh'' script!
<br />This little shell script can actually setup the whole environment:
* Fetch the sources
* Run the build
* Generate all the packages
It produce a neat HTML report, with a link to the log files, one log file per source.
Unfortunately, the script overwrites the ''buidpacket.pl'' log files, so you cannot what is going wrong at that stage.
This little fix will help in tracing the issues
diff -u -r1.6 buildall.sh
--- buildall.sh 21 Mar 2005 00:56:02 -0000 1.6
+++ buildall.sh 3 Oct 2005 20:59:13 -0000
@@ -51,13 +51,13 @@
}
call_buildpacket() {
- echo "-------------------------" >> $MYDIR/$name.build.txt 2>&1
+ echo "-------------------------" >> $BTLOGFILE 2>&1
# check if it has a package definition in it:
grep -q '<Package>' $BTSOURCEDIR/$1/buildtool.cfg 2>/dev/null
if [ $? -eq 0 ] ; then
- echo "calling buildpacket for $1 " >> $MYDIR/$name.build.txt 2>&1
+ echo "calling buildpacket for $1 " >> $BTLOGFILE 2>&1
- fakeroot $BPBIN --package=$1 --all >> $MYDIR/$name.build.txt 2>&1
+ fakeroot $BPBIN --package=$1 --all >> $BTLOGFILE 2>&1
ret=$?
if [ $ret -eq 0 ] ; then
echo -n "<font color=green>OK</font>"
== Gpio ==
The ''source/gpio/buildtool.cfg'' is not taking the driver from the right location.
<br />The correct entry should be
<File>
Filename = lib/modules/gpio.o
Source = lib/modules/2.4.31/gpio/gpio.o
Type = binary
Permissions = 644
</File>
== Initrd ==
Doesn't build with ''fakeroot'', we really have to ''sudo'' to package this one...
sudo ./buildpacket.pl --package=initrd --all
Another issue is that the initrd ''buildroot.cfg'' includes ''common.cfg'' multiple times. '''This does not work!''' The perl package ''Config::General'' will not read (and include) the same file twice:
350 if (exists $this->{files}->{$configfile} ) {
351 # do not read the same file twice, just return
352 # FIXME: should we croak here, when some "debugging" is enabled?
353 return;
354 }
I have used a dirty workaround: create some symbolic links for ''common.cfg'' and use the different names in the initrd ''buildroot.cfg''.
== Shorewall ==
''buildpacket.pl'' fails because the ''cp'' command returns a non-zero status code on ''/etc/shorewall/*''.
The problem is that the ''weblet'' package creates directories in ''/etc/shorewall/'', which makes that ''cp'' issues warnings.
Workaround is to build ''weblet'' after ''shorewall'' is '''packaged''', but this is a bit annoying: it just works the first time, after that you have to ''buildclean'' both packages.
I prefer to tweak the pattern matching in ''source/shorewall/buildtool.cfg'' -- this is not bullet proof, but good enough
<File>
Filename = etc/shorewall/
Source = etc/shorewall/*[^.]?
Permissions = 600
Type = binary
</File>
= What else do we need? =
We have now all the packages in the ''package'' directory, but we need a couple of other things to build an image...
<br />The ''tools'' directory has a couple of scripts to build images, but they fetch binaries from the Internet, which is obviously not what I wanted to do...
So what else do we need?
== Linux kernel ==
The kernel is available as ''build/kernel/bzimage-2.4.31-upx'' and just need to be renamed in ''linux''
== SysLinux and Leaf config files ==
Templates for ''syslinux.cfg'' and ''leaf.cfg'' are available in ''tools/image/fd'' and ''tools/image/iso'' diectories
== Readme and banner ==
The ''readme'' file and the ''syslinux.dpy'' banner templates are available in the ''tools/image'' directory.
Build date and version need to be substituted.
Note that the banner does not look too good on an old VT200 screen, and should be cleaned up if your console is on the serial port!
== WebConf plugins ==
The webconf plugins (.lwp files) are not part of the buildroot and need to be fetched from http://cvs.sourceforge.net/viewcvs.py/leaf/devel/nangel/webconf/lrp/ .
== Linux kernel modules ==
The Linux kernel modules are available in ''build/kernel/lib/modules''.
= Summary =
In order to build the whole environment:
# Get all the sources
# Apply the couple of fixes described above
# Build the whole stuff with: <br />''JAVA_HOME=/usr/local/j2sdk1.4.2_09 CLASSES=/usr/local/jdk118_v3/lib/classes.zip ./tools/buildall.sh''
# Package the initrd manually: <br />''sudo ./buildpacket.pl --package=initrd --all''
# To make your own images, grab your selection of packages and the required additional files!
[[Category:Bering-uClibc]]
Category:Bering-uClibc
14
1325
1364
2005-10-03T21:12:10Z
Phil
1
wikitext
text/x-wiki
Using Bering-uClibc for [http://www.reseaucitoyen.be RéseauCitoyen]
Bering-uClibc on Compact-Flash
0
1326
1368
2005-10-04T18:06:54Z
Phil
1
wikitext
text/x-wiki
= Partitioning =
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
1369
1368
2005-10-04T18:48:29Z
Phil
1
/* Partitioning */
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of syslinux for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. The idea is to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partitions looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Filesystems =
The first partition will recieve the packages and need to be DOS-formatted:
mkdosfs -n BERING /dev/hdc1
Then we load syslinux on it
syslinux /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the syslinux distribution, but is not in the Debian package...
1371
1369
2005-10-04T22:31:35Z
Phil
1
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of syslinux for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
The first partition will recieve the packages and need to be DOS-formatted:
mkdosfs -n BERING /dev/hdc1
Then we load syslinux on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the syslinux distribution, but is not in the Debian package...
[[Category:Bering-uClibc]]
1372
1371
2005-10-05T10:31:41Z
Phil
1
/* Boot partition */
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of syslinux for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
== Filesystem ==
The first partition will recieve the packages and need to be DOS-formatted:
mkdosfs -n BERING /dev/hdc1
Then we load syslinux on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the syslinux distribution, but is not in the Debian package...
== Content ==
=== Syslinux ===
=== Package ===
We will use the following packages...
[[Category:Bering-uClibc]]
1374
1372
2005-10-05T21:04:35Z
Phil
1
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of [http://syslinux.zytor.com/faq.php SysLinux] for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
== Filesystem & syslinux ==
The first partition will recieve the packages and need to be DOS-formatted for [http://syslinux.zytor.com/faq.php SysLinux]:
mkdosfs -n BERING /dev/hdc1
Then we load [http://syslinux.zytor.com/faq.php SysLinux] on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the [http://syslinux.zytor.com/faq.php SysLinux] distribution, but is not in the Debian package... It can be dowloaded from [http://www.kernel.org/pub/linux/utils/boot/syslinux/ kernel.org]
Then you have to put the ''syslinux.cfg'' configuration file and the ''syslinux.dpy''banner files in the filesystem. Templates are available in the ''tools/image'' directory of the [[Buildtool]].
On the soekris, I am using the following ''syslinux.cfg'':
serial 0 19200
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda2:minix
append console=ttyS0,19200 nodma=hda ide=nodma
We will put the leaf configuration file on the second partition. ''syslinux.cfg'' is the only system specific file we will have on the first partition;
If the console is on a serial port, it is better to cleanup ''syslinux.dpy'' to avoid control characters on the connected terminal.
== Linux kernel and packages ==
The rest of the filesystem is for the [[Bering-uClibc]] Linux kernel and packages.
I don't expect space problem on the Compact-Flash card, so we could easily copy all the packages! I am just listing the main ones needed for a node
=== System files ===
* linux: the Linux kernel, copied from ''build/kernel/bzimage-2.4.31-upx''
* initrd.lrp: the bootstrap file, copied from initrd_ide.lrp as we boot from Compact-Flash via the IDE adapter
* root.lrp: System files (basic commands)<br />The full root backup will backup '''all'' files not in other packages!
* etc.lrp: /etc config files, system startup, ...
* modules.lrp: the drivers needed to run the node<br />The drivers loaded by the PCMCIA cardmanager '''must be''' in the pcmcia subdirectory, so that the modules can be loaded through ''insmod'' as ''modbrobe'' is not available.
* local.lrp: /usr/local files (empty package)
* log.lrp: /var/log files (empty package)
* config.lrp: the ''lrcfg'' configuration tool
=== Network files ===
* dropbear.lrp: ssh server
* iptables.lrp: the iptables suite
* shorewall.lrp: shorewall firewall
* ulogd.lrp: user space log daemon
=== Web Interface ===
* mhttpd.lrp
* webconf.lrp
== PCMCIA ==
* pcmod.lrp: PCMCIA and Cardbus base modules
* pcmcia.lrp: cardmgr, etc
== Wireless stuff ==
* wireless.lrp: Jean II wireless tools
* libm.lrp: dependancy
* hostapu.lrp: HostAP Config
* olsrd.lrp
=== Other packages ===
Packages that could be usefull on a node:
* bridge.lrp
* keyboard.lrp
* dhcpcd.lrp
* dnsmasq.lrp
[[Category:Bering-uClibc]]
1375
1374
2005-10-05T22:05:55Z
Phil
1
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of [http://syslinux.zytor.com/faq.php SysLinux] for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
== Filesystem & syslinux ==
The first partition will recieve the packages and need to be DOS-formatted for [http://syslinux.zytor.com/faq.php SysLinux]:
mkdosfs -n BERING /dev/hdc1
Then we load [http://syslinux.zytor.com/faq.php SysLinux] on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the [http://syslinux.zytor.com/faq.php SysLinux] distribution, but is not in the Debian package... It can be dowloaded from [http://www.kernel.org/pub/linux/utils/boot/syslinux/ kernel.org]
Then you have to put the ''syslinux.cfg'' configuration file and the ''syslinux.dpy''banner files in the filesystem. Templates are available in the ''tools/image'' directory of the [[Buildtool]].
On the soekris, I am using the following ''syslinux.cfg'':
serial 0 19200
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda2:minix
append console=ttyS0,19200 nodma=hda ide=nodma
We will put the leaf configuration file on the second partition. ''syslinux.cfg'' is the only system specific file we will have on the first partition;
If the console is on a serial port, it is better to cleanup ''syslinux.dpy'' to avoid control characters on the connected terminal.
== Linux kernel and packages ==
The rest of the filesystem is for the [[Bering-uClibc]] Linux kernel and packages.
I don't expect space problem on the Compact-Flash card, so we could easily copy all the packages! I am just listing the main ones needed for a node
=== System files ===
* linux: the Linux kernel, copied from ''build/kernel/bzimage-2.4.31-upx''
* initrd.lrp: the bootstrap file, copied from initrd_ide.lrp as we boot from Compact-Flash via the IDE adapter
* root.lrp: System files (basic commands)<br />The full root backup will backup '''all'' files not in other packages!
* etc.lrp: /etc config files, system startup, ...<br />If we use the serial console, ''/etc/inittab'' need to be updated, otherwhise there will be no way to access the node! This is only necessary for a fresh install, after that ''inittab'' will be saved in the config files.
* modules.lrp: the drivers needed to run the node<br />The drivers loaded by the PCMCIA cardmanager '''must be''' in the pcmcia subdirectory, so that the modules can be loaded through ''insmod'' as ''modbrobe'' is not available.
* local.lrp: /usr/local files (empty package)
* log.lrp: /var/log files (empty package)
* config.lrp: the ''lrcfg'' configuration tool
=== Network files ===
* dropbear.lrp: ssh server
* iptables.lrp: the iptables suite
* shorewall.lrp: shorewall firewall
* ulogd.lrp: user space log daemon
=== Web Interface ===
* mhttpd.lrp: lightweight HTTP server
* webconf.lrp: Web configuration interface <br />We need to copy the ''<package>.lwp'' configuration plugins
=== PCMCIA ===
* pcmod.lrp: PCMCIA and Cardbus base modules
* pcmcia.lrp: cardmgr, etc
=== Wireless stuff ===
* wireless.lrp: Jean II wireless tools
* libm.lrp: dependancy
* hostapu.lrp: HostAP Config
* olsrd.lrp: the routing daemon
=== Other packages ===
Packages that could be usefull on a node:
* bridge.lrp: bridge support
* keyboard.lrp: non-qwerty keyboard support
* dhcpcd.lrp: dhcp client
* dnsmasq.lrp: dhcp server & dns cache
= Config partition =
= Extra partition =
[[Category:Bering-uClibc]]
1377
1375
2005-10-10T21:46:19Z
Phil
1
/* Web Interface */
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of [http://syslinux.zytor.com/faq.php SysLinux] for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
== Filesystem & syslinux ==
The first partition will recieve the packages and need to be DOS-formatted for [http://syslinux.zytor.com/faq.php SysLinux]:
mkdosfs -n BERING /dev/hdc1
Then we load [http://syslinux.zytor.com/faq.php SysLinux] on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the [http://syslinux.zytor.com/faq.php SysLinux] distribution, but is not in the Debian package... It can be dowloaded from [http://www.kernel.org/pub/linux/utils/boot/syslinux/ kernel.org]
Then you have to put the ''syslinux.cfg'' configuration file and the ''syslinux.dpy''banner files in the filesystem. Templates are available in the ''tools/image'' directory of the [[Buildtool]].
On the soekris, I am using the following ''syslinux.cfg'':
serial 0 19200
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda2:minix
append console=ttyS0,19200 nodma=hda ide=nodma
We will put the leaf configuration file on the second partition. ''syslinux.cfg'' is the only system specific file we will have on the first partition;
If the console is on a serial port, it is better to cleanup ''syslinux.dpy'' to avoid control characters on the connected terminal.
== Linux kernel and packages ==
The rest of the filesystem is for the [[Bering-uClibc]] Linux kernel and packages.
I don't expect space problem on the Compact-Flash card, so we could easily copy all the packages! I am just listing the main ones needed for a node
=== System files ===
* linux: the Linux kernel, copied from ''build/kernel/bzimage-2.4.31-upx''
* initrd.lrp: the bootstrap file, copied from initrd_ide.lrp as we boot from Compact-Flash via the IDE adapter
* root.lrp: System files (basic commands)<br />The full root backup will backup '''all'' files not in other packages!
* etc.lrp: /etc config files, system startup, ...<br />If we use the serial console, ''/etc/inittab'' need to be updated, otherwhise there will be no way to access the node! This is only necessary for a fresh install, after that ''inittab'' will be saved in the config files.
* modules.lrp: the drivers needed to run the node<br />The drivers loaded by the PCMCIA cardmanager '''must be''' in the pcmcia subdirectory, so that the modules can be loaded through ''insmod'' as ''modbrobe'' is not available.
* local.lrp: /usr/local files (empty package)
* log.lrp: /var/log files (empty package)
* config.lrp: the ''lrcfg'' configuration tool
=== Network files ===
* dropbear.lrp: ssh server
* iptables.lrp: the iptables suite
* shorewall.lrp: shorewall firewall
* ulogd.lrp: user space log daemon
=== Web Interface ===
* mhttpd.lrp: lightweight HTTP server
* webconf.lrp: Web configuration interface <br />We need to copy the ''<package>.lwp'' configuration plugins <br />'''Note''': the password file is not part of the configuration files, and therefore the password is lost when that package is upgraded!
=== PCMCIA ===
* pcmod.lrp: PCMCIA and Cardbus base modules
* pcmcia.lrp: cardmgr, etc
=== Wireless stuff ===
* wireless.lrp: Jean II wireless tools
* libm.lrp: dependancy
* hostapu.lrp: HostAP Config
* olsrd.lrp: the routing daemon
=== Other packages ===
Packages that could be usefull on a node:
* bridge.lrp: bridge support
* keyboard.lrp: non-qwerty keyboard support
* dhcpcd.lrp: dhcp client
* dnsmasq.lrp: dhcp server & dns cache
= Config partition =
= Extra partition =
[[Category:Bering-uClibc]]
1378
1377
2005-10-10T22:13:25Z
Phil
1
/* Config partition */
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of [http://syslinux.zytor.com/faq.php SysLinux] for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
== Filesystem & syslinux ==
The first partition will recieve the packages and need to be DOS-formatted for [http://syslinux.zytor.com/faq.php SysLinux]:
mkdosfs -n BERING /dev/hdc1
Then we load [http://syslinux.zytor.com/faq.php SysLinux] on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the [http://syslinux.zytor.com/faq.php SysLinux] distribution, but is not in the Debian package... It can be dowloaded from [http://www.kernel.org/pub/linux/utils/boot/syslinux/ kernel.org]
Then you have to put the ''syslinux.cfg'' configuration file and the ''syslinux.dpy''banner files in the filesystem. Templates are available in the ''tools/image'' directory of the [[Buildtool]].
On the soekris, I am using the following ''syslinux.cfg'':
serial 0 19200
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda2:minix
append console=ttyS0,19200 nodma=hda ide=nodma
We will put the leaf configuration file on the second partition. ''syslinux.cfg'' is the only system specific file we will have on the first partition;
If the console is on a serial port, it is better to cleanup ''syslinux.dpy'' to avoid control characters on the connected terminal.
== Linux kernel and packages ==
The rest of the filesystem is for the [[Bering-uClibc]] Linux kernel and packages.
I don't expect space problem on the Compact-Flash card, so we could easily copy all the packages! I am just listing the main ones needed for a node
=== System files ===
* linux: the Linux kernel, copied from ''build/kernel/bzimage-2.4.31-upx''
* initrd.lrp: the bootstrap file, copied from initrd_ide.lrp as we boot from Compact-Flash via the IDE adapter
* root.lrp: System files (basic commands)<br />The full root backup will backup '''all'' files not in other packages!
* etc.lrp: /etc config files, system startup, ...<br />If we use the serial console, ''/etc/inittab'' need to be updated, otherwhise there will be no way to access the node! This is only necessary for a fresh install, after that ''inittab'' will be saved in the config files.
* modules.lrp: the drivers needed to run the node<br />The drivers loaded by the PCMCIA cardmanager '''must be''' in the pcmcia subdirectory, so that the modules can be loaded through ''insmod'' as ''modbrobe'' is not available.
* local.lrp: /usr/local files (empty package)
* log.lrp: /var/log files (empty package)
* config.lrp: the ''lrcfg'' configuration tool
=== Network files ===
* dropbear.lrp: ssh server
* iptables.lrp: the iptables suite
* shorewall.lrp: shorewall firewall
* ulogd.lrp: user space log daemon
=== Web Interface ===
* mhttpd.lrp: lightweight HTTP server
* webconf.lrp: Web configuration interface <br />We need to copy the ''<package>.lwp'' configuration plugins <br />'''Note''': the password file is not part of the configuration files, and therefore the password is lost when that package is upgraded!
=== PCMCIA ===
* pcmod.lrp: PCMCIA and Cardbus base modules
* pcmcia.lrp: cardmgr, etc
=== Wireless stuff ===
* wireless.lrp: Jean II wireless tools
* libm.lrp: dependancy
* hostapu.lrp: HostAP Config
* olsrd.lrp: the routing daemon
=== Other packages ===
Packages that could be usefull on a node:
* bridge.lrp: bridge support
* keyboard.lrp: non-qwerty keyboard support
* dhcpcd.lrp: dhcp client
* dnsmasq.lrp: dhcp server & dns cache
= Config partition =
The second partition will receive a Minix filesystem (the [[Bering-uClibc]] kernel only supports msdos and minix filesystems without additional modules).
Initially, this partition will only contains the ''leaf.cfg'' configuration file:
VERBOSE=0
LRP="root config etc local modules log iptables dhcpcd shorwall ulogd dnsmasq dropbear pcmod pcmcia libm wireless hostapu mhttpd webconf lrpstat olsrd"
PKGPATH="/dev/hda2:minix,/dev/hda1:msdos"
syst_size=16M
log_size=10M
The important thing is the ''PKGPATH'' variable: it took me some time to realize that by default the list is processed backwards when installing the package: we will first get the package files from the hda1 partition, then overlay with the configuration files from the hda2 partition.
<br />An easy way to see this is that the files in the first device take precedence over the others!
Once the system is installed and running, we will backup the configuration files (partial backup) on this partition.
= Extra partition =
[[Category:Bering-uClibc]]
1379
1378
2005-10-10T22:23:03Z
Phil
1
/* Extra partition */
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of [http://syslinux.zytor.com/faq.php SysLinux] for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
== Filesystem & syslinux ==
The first partition will recieve the packages and need to be DOS-formatted for [http://syslinux.zytor.com/faq.php SysLinux]:
mkdosfs -n BERING /dev/hdc1
Then we load [http://syslinux.zytor.com/faq.php SysLinux] on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the [http://syslinux.zytor.com/faq.php SysLinux] distribution, but is not in the Debian package... It can be dowloaded from [http://www.kernel.org/pub/linux/utils/boot/syslinux/ kernel.org]
Then you have to put the ''syslinux.cfg'' configuration file and the ''syslinux.dpy''banner files in the filesystem. Templates are available in the ''tools/image'' directory of the [[Buildtool]].
On the soekris, I am using the following ''syslinux.cfg'':
serial 0 19200
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda2:minix
append console=ttyS0,19200 nodma=hda ide=nodma
We will put the leaf configuration file on the second partition. ''syslinux.cfg'' is the only system specific file we will have on the first partition;
If the console is on a serial port, it is better to cleanup ''syslinux.dpy'' to avoid control characters on the connected terminal.
== Linux kernel and packages ==
The rest of the filesystem is for the [[Bering-uClibc]] Linux kernel and packages.
I don't expect space problem on the Compact-Flash card, so we could easily copy all the packages! I am just listing the main ones needed for a node
=== System files ===
* linux: the Linux kernel, copied from ''build/kernel/bzimage-2.4.31-upx''
* initrd.lrp: the bootstrap file, copied from initrd_ide.lrp as we boot from Compact-Flash via the IDE adapter
* root.lrp: System files (basic commands)<br />The full root backup will backup '''all'' files not in other packages!
* etc.lrp: /etc config files, system startup, ...<br />If we use the serial console, ''/etc/inittab'' need to be updated, otherwhise there will be no way to access the node! This is only necessary for a fresh install, after that ''inittab'' will be saved in the config files.
* modules.lrp: the drivers needed to run the node<br />The drivers loaded by the PCMCIA cardmanager '''must be''' in the pcmcia subdirectory, so that the modules can be loaded through ''insmod'' as ''modbrobe'' is not available.
* local.lrp: /usr/local files (empty package)
* log.lrp: /var/log files (empty package)
* config.lrp: the ''lrcfg'' configuration tool
=== Network files ===
* dropbear.lrp: ssh server
* iptables.lrp: the iptables suite
* shorewall.lrp: shorewall firewall
* ulogd.lrp: user space log daemon
=== Web Interface ===
* mhttpd.lrp: lightweight HTTP server
* webconf.lrp: Web configuration interface <br />We need to copy the ''<package>.lwp'' configuration plugins <br />'''Note''': the password file is not part of the configuration files, and therefore the password is lost when that package is upgraded!
=== PCMCIA ===
* pcmod.lrp: PCMCIA and Cardbus base modules
* pcmcia.lrp: cardmgr, etc
=== Wireless stuff ===
* wireless.lrp: Jean II wireless tools
* libm.lrp: dependancy
* hostapu.lrp: HostAP Config
* olsrd.lrp: the routing daemon
=== Other packages ===
Packages that could be usefull on a node:
* bridge.lrp: bridge support
* keyboard.lrp: non-qwerty keyboard support
* dhcpcd.lrp: dhcp client
* dnsmasq.lrp: dhcp server & dns cache
= Config partition =
The second partition will receive a Minix filesystem (the [[Bering-uClibc]] kernel only supports msdos and minix filesystems without additional modules).
Initially, this partition will only contains the ''leaf.cfg'' configuration file:
VERBOSE=0
LRP="root config etc local modules log iptables dhcpcd shorwall ulogd dnsmasq dropbear pcmod pcmcia libm wireless hostapu mhttpd webconf lrpstat olsrd"
PKGPATH="/dev/hda2:minix,/dev/hda1:msdos"
syst_size=16M
log_size=10M
The important thing is the ''PKGPATH'' variable: it took me some time to realize that by default the list is processed backwards when installing the package: we will first get the package files from the hda1 partition, then overlay with the configuration files from the hda2 partition.
<br />An easy way to see this is that the files in the first device take precedence over the others!
Once the system is installed and running, we will backup the configuration files (partial backup) on this partition.
= Extra partition =
This partition remains available for whatever we need!
Ideally I would have used a ''jffs2'' filesystem, but this module is not compiled by default. So we will use Minix here as well.
[[Category:Bering-uClibc]]
1380
1379
2005-10-10T23:01:10Z
Phil
1
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
It does not replace the [http://leaf.sourceforge.net/doc/guide/buc-install.html Bering-uClibc Installation Guide], but rather a complement.
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of [http://syslinux.zytor.com/faq.php SysLinux] for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
== Filesystem & syslinux ==
The first partition will recieve the packages and need to be DOS-formatted for [http://syslinux.zytor.com/faq.php SysLinux]:
mkdosfs -n BERING /dev/hdc1
Then we load [http://syslinux.zytor.com/faq.php SysLinux] on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the [http://syslinux.zytor.com/faq.php SysLinux] distribution, but is not in the Debian package... It can be dowloaded from [http://www.kernel.org/pub/linux/utils/boot/syslinux/ kernel.org]
Then you have to put the ''syslinux.cfg'' configuration file and the ''syslinux.dpy''banner files in the filesystem. Templates are available in the ''tools/image'' directory of the [[Buildtool]] (or on the floppy image from the official distribution).
On the soekris, I am using the following ''syslinux.cfg'':
serial 0 19200
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda2:minix
append console=ttyS0,19200 nodma=hda ide=nodma
We will put the leaf configuration file on the second partition. ''syslinux.cfg'' is the only system specific file we will have on the first partition;
If the console is on a serial port, it is better to cleanup ''syslinux.dpy'' to avoid control characters on the connected terminal.
== Linux kernel and packages ==
The rest of the filesystem is for the [[Bering-uClibc]] Linux kernel and packages.
I don't expect space problem on the Compact-Flash card, so we could easily copy all the packages! I am just listing the main ones needed for a node.
=== System files ===
* linux: the Linux kernel, copied from ''build/kernel/bzimage-2.4.31-upx'' (or on the floppy image from the official distribution)
* initrd.lrp: the bootstrap file, copied from initrd_ide.lrp as we boot from Compact-Flash via the IDE adapter
* root.lrp: System files (basic commands)<br />The full root backup will backup '''all'' files not in other packages!
* etc.lrp: /etc config files, system startup, ...<br />If we use the serial console, ''/etc/inittab'' need to be updated, otherwhise there will be no way to access the node! This is only necessary for a fresh install, after that ''inittab'' will be saved in the config files.
* modules.lrp: the drivers needed to run the node<br />The drivers loaded by the PCMCIA cardmanager '''must be''' in the pcmcia subdirectory, so that the modules can be loaded through ''insmod'' as ''modbrobe'' is not available.
* local.lrp: /usr/local files (empty package)
* log.lrp: /var/log files (empty package)
* config.lrp: the ''lrcfg'' configuration tool
=== Network files ===
* dropbear.lrp: ssh server
* iptables.lrp: the iptables suite
* shorewall.lrp: shorewall firewall
* ulogd.lrp: user space log daemon
=== Web Interface ===
* mhttpd.lrp: lightweight HTTP server
* webconf.lrp: Web configuration interface <br />We need to copy the ''<package>.lwp'' configuration plugins <br />'''Note''': the password file is not part of the configuration files, and therefore the password is lost when that package is upgraded!
=== PCMCIA ===
* pcmod.lrp: PCMCIA and Cardbus base modules
* pcmcia.lrp: cardmgr, etc
=== Wireless stuff ===
* wireless.lrp: Jean II wireless tools
* libm.lrp: dependancy
* hostapu.lrp: HostAP Config
* olsrd.lrp: the routing daemon
=== Other packages ===
Packages that could be usefull on a node:
* bridge.lrp: bridge support
* keyboard.lrp: non-qwerty keyboard support
* dhcpcd.lrp: dhcp client
* dnsmasq.lrp: dhcp server & dns cache
= Config partition =
The second partition will receive a Minix filesystem (the [[Bering-uClibc]] kernel only supports msdos and minix filesystems without additional modules).
Initially, this partition will only contains the ''leaf.cfg'' configuration file:
VERBOSE=0
LRP="root config etc local modules log iptables dhcpcd shorwall ulogd dnsmasq dropbear pcmod pcmcia libm wireless hostapu mhttpd webconf lrpstat olsrd"
PKGPATH="/dev/hda2:minix,/dev/hda1:msdos"
syst_size=16M
log_size=10M
The important thing is the ''PKGPATH'' variable: it took me some time to realize that by default the list is processed backwards when installing the package: we will first get the package files from the hda1 partition, then overlay with the configuration files from the hda2 partition.
<br />An easy way to see this is that the files in the first device take precedence over the others!
Once the system is installed and running, we will backup the configuration files (partial backup) on this partition.
= Extra partition =
This partition remains available for whatever we need!
Ideally I would have used a ''jffs2'' filesystem, but this module is not compiled by default. So we will use Minix here as well.
= Post-install =
Once the system is running, the following need to be configured
* System
** LRP Config file (date server, ...)
** Timezone
* Networking
** Node name
** Interface definition
* Dropbear
** Generate ssh keys
* OLSRD
** Interface
* Shorewall
** Relax a bit
** Add zone for [http://www.reseaucitoyen.be RéseauCitoyen]
* Webconf
** Set password
[[Category:Bering-uClibc]]
1389
1380
2006-11-19T05:44:43Z
Fraseyboy
2
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
It does not replace the [http://leaf.sourceforge.net/doc/guide/buc-install.html Bering-uClibc Installation Guide], but rather a complement.
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of [http://syslinux.zytor.com/faq.php SysLinux] for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
== Filesystem & syslinux ==
The first partition will recieve the packages and need to be DOS-formatted for [http://syslinux.zytor.com/faq.php SysLinux]:
mkdosfs -n BERING /dev/hdc1
Then we load [http://syslinux.zytor.com/faq.php SysLinux] on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the [http://syslinux.zytor.com/faq.php SysLinux] distribution, but is not in the Debian package... It can be dowloaded from [http://www.kernel.org/pub/linux/utils/boot/syslinux/ kernel.org]
Then you have to put the ''syslinux.cfg'' configuration file and the ''syslinux.dpy''banner files in the filesystem. Templates are available in the ''tools/image'' directory of the [[Buildtool]] (or on the floppy image from the official distribution).
On the soekris, I am using the following ''syslinux.cfg'':
serial 0 19200
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda2:minix
append console=ttyS0,19200 nodma=hda ide=nodma
We will put the leaf configuration file on the second partition. ''syslinux.cfg'' is the only system specific file we will have on the first partition;
If the console is on a serial port, it is better to cleanup ''syslinux.dpy'' to avoid control characters on the connected terminal.
== Linux kernel and packages ==
The rest of the filesystem is for the [[Bering-uClibc]] Linux kernel and packages.
I don't expect space problem on the Compact-Flash card, so we could easily copy all the packages! I am just listing the main ones needed for a node.
=== System files ===
* linux: the Linux kernel, copied from ''build/kernel/bzimage-2.4.31-upx'' (or on the floppy image from the official distribution)
* initrd.lrp: the bootstrap file, copied from initrd_ide.lrp as we boot from Compact-Flash via the IDE adapter
* root.lrp: System files (basic commands)<br />The full root backup will backup '''all'' files not in other packages!
* etc.lrp: /etc config files, system startup, ...<br />If we use the serial console, ''/etc/inittab'' need to be updated, otherwhise there will be no way to access the node! This is only necessary for a fresh install, after that ''inittab'' will be saved in the config files.
* modules.lrp: the drivers needed to run the node<br />The drivers loaded by the PCMCIA cardmanager '''must be''' in the pcmcia subdirectory, so that the modules can be loaded through ''insmod'' as ''modbrobe'' is not available.
* local.lrp: /usr/local files (empty package)
* log.lrp: /var/log files (empty package)
* config.lrp: the ''lrcfg'' configuration tool
=== Network files ===
* dropbear.lrp: ssh server
* iptables.lrp: the iptables suite
* shorewall.lrp: shorewall firewall
* ulogd.lrp: user space log daemon
=== Web Interface ===
* mhttpd.lrp: lightweight HTTP server
* webconf.lrp: Web configuration interface <br />We need to copy the ''<package>.lwp'' configuration plugins <br />'''Note''': the password file is not part of the configuration files, and therefore the password is lost when that package is upgraded!
=== PCMCIA ===
* pcmod.lrp: PCMCIA and Cardbus base modules
* pcmcia.lrp: cardmgr, etc
=== Wireless stuff ===
* wireless.lrp: Jean II wireless tools
* libm.lrp: dependancy
* hostapu.lrp: HostAP Config
* olsrd.lrp: the routing daemon
=== Other packages ===
Packages that could be usefull on a node:
* bridge.lrp: bridge support
* keyboard.lrp: non-qwerty keyboard support
* dhcpcd.lrp: dhcp client
* dnsmasq.lrp: dhcp server & dns cache
= Config partition =
The second partition will receive a Minix filesystem (the [[Bering-uClibc]] kernel only supports msdos and minix filesystems without additional modules).
Initially, this partition will only contains the ''leaf.cfg'' configuration file:
VERBOSE=0
LRP="root config etc local modules log iptables dhcpcd shorwall ulogd dnsmasq dropbear pcmod pcmcia libm wireless hostapu mhttpd webconf lrpstat olsrd"
PKGPATH="/dev/hda2:minix,/dev/hda1:msdos"
syst_size=16M
log_size=10M
The important thing is the ''PKGPATH'' variable: it took me some time to realize that by default the list is processed backwards when installing the package: we will first get the package files from the hda1 partition, then overlay with the configuration files from the hda2 partition.
<br />An easy way to see this is that the files in the first device take precedence over the others!
Once the system is installed and running, we will backup the configuration files (partial backup) on this partition.
= Extra partition =
This partition remains available for whatever we need!
Ideally I would have used a ''jffs2'' filesystem, but this module is not compiled by default. So we will use Minix here as well.
= Post-install =
Once the system is running, the following need to be configured
* System
** LRP Config file (date server, ...)
** Timezone
* Networking
** Node name
** Interface definition
* Dropbear
** Generate ssh keys
* OLSRD
** Interface
* Shorewall
** Relax a bit
** Add zone for [http://www.reseaucitoyen.be RéseauCitoyen]
* Webconf
** Set password
[[Category:Bering-uClibc]]
[http://www.casino-web-gambling.com/blackjack-tips/blackjack-hints.html blackjack hints]
[http://www.casino-games-wiki.com/index.php/casino_games_game casino games game]
[http://www.casinos-go.com/online-casino-tips/index.html online casino tips]
[http://www.casinos-go.com/online-casino-tips/online-casino-games.html online casino games]
[http://www.casino-games-wiki.com/index.php/play_casino_games_games_online play casino games games online]
[http://www.casino-theory.com/online-casino-bonus/index.html online casino bonus]
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.casino-theory.com/online-casino-royale/play-free-online-casino.html play free online casino]
[http://www.slots-wiki.com/index.php/slots_hints slots hints]
Noeud Bulles
0
1317
1381
1330
2005-10-20T14:24:32Z
Phil
1
/* Services disponibles sur ce noeud */
wikitext
text/x-wiki
= Bienvenue sur le noeud Bulles =
Bienvenue sur le noeud RéseauCitoyen des Bulles!
'''Note''': Bien que ce serveur Web soit aussi visible sur Internet, certains liens de cette page ne sont disponibles que via RéseauCitoyen
/!\ /!\ 11 Aout 2005: Le serveur est en cour de migration, certains services ne sont pas disponibles /!\ /!\
== Services disponibles sur ce noeud ==
* '''Le wiki des Bulles''': Vous y êtes! C'est ici! <br />C'est un Wiki essentiellment technique supportant des projets RéseauCitoyen. <br />Quelques pointeurs
** [[Bubble]]: Distribution RéseauCitoyen minimaliste (floppy, ...) <br />La distribution est en réécriture pour l'instant!
** [[RC-1000]]: Distribution RéseauCitoyen pour RG-1000
** [[Opération Panik]]: Setup de noeuds en vue de streaming audio
* Un '''serveur de temps''' (NTP) de Stratum 3
* Le '''[http:/cgi-bin/viewcvs.cgi/ReseauCitoyen CVS]''': Code sources de projets RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble Bubble]: Distribution Bubble
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/OpenWRT/ WRT Citoyen]: Distribution OpenWRT avec les packages RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/RC-1000/ RC-1000]: Distribution RG-1000
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/aodv-uu-ipt/ AODV-IPT]: AODV-UU 0.8.1 avec les patches iptables
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/rc-watchdog/ RC-Watchdog]: Script de monitoring de noeud
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/dnsp2p/ DNS Peer to Peer]: implementation en Python réalisée par Gaëtan Kowalkowski
* '''[http:/nagios/ Monitoring du réseau]''': Monitoring réalisé avec Nagios ('''Non disponible pour l'instant''')
* '''[http:/rc1000/ Feed RC-1000]''': Distribution et Package Feed pour la distribution [[RC-1000]]
* '''[http:/openwrt/ Feed OpenWrt]''': Distribution et Package Feed pour la distribution !OpenWrt (Voire aussi AodvOpenWrt)
* '''[http:/i386/ Binaires i386]''': Noyeau et binaires AODV pour une install facile sous Linux, paquet Debian pour OLSR, ...
* '''[http:/mtx/ Feed MeshCube]''': Distribution et Package Feed pour la distribution Nylon (Voire aussi [[MeshCube]])
== Services en projet ==
* Serveur Jabber
*''Ajoutez ici vos souhaits!''
* ...
1385
1381
2005-10-20T15:28:15Z
Phil
1
/* Bienvenue sur le noeud Bulles */
wikitext
text/x-wiki
= Bienvenue sur le noeud Bulles =
Bienvenue sur le noeud RéseauCitoyen des Bulles!
'''Note''': Bien que ce serveur Web soit aussi visible sur Internet, certains liens de cette page ne sont disponibles que via RéseauCitoyen
== Services disponibles sur ce noeud ==
* '''Le wiki des Bulles''': Vous y êtes! C'est ici! <br />C'est un Wiki essentiellment technique supportant des projets RéseauCitoyen. <br />Quelques pointeurs
** [[Bubble]]: Distribution RéseauCitoyen minimaliste (floppy, ...) <br />La distribution est en réécriture pour l'instant!
** [[RC-1000]]: Distribution RéseauCitoyen pour RG-1000
** [[Opération Panik]]: Setup de noeuds en vue de streaming audio
* Un '''serveur de temps''' (NTP) de Stratum 3
* Le '''[http:/cgi-bin/viewcvs.cgi/ReseauCitoyen CVS]''': Code sources de projets RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble Bubble]: Distribution Bubble
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/OpenWRT/ WRT Citoyen]: Distribution OpenWRT avec les packages RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/RC-1000/ RC-1000]: Distribution RG-1000
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/aodv-uu-ipt/ AODV-IPT]: AODV-UU 0.8.1 avec les patches iptables
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/rc-watchdog/ RC-Watchdog]: Script de monitoring de noeud
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/dnsp2p/ DNS Peer to Peer]: implementation en Python réalisée par Gaëtan Kowalkowski
* '''[http:/nagios/ Monitoring du réseau]''': Monitoring réalisé avec Nagios ('''Non disponible pour l'instant''')
* '''[http:/rc1000/ Feed RC-1000]''': Distribution et Package Feed pour la distribution [[RC-1000]]
* '''[http:/openwrt/ Feed OpenWrt]''': Distribution et Package Feed pour la distribution OpenWrt (Voire aussi [[Wrt Citoyen]])
* '''[http:/i386/ Binaires i386]''': Noyeau et binaires AODV pour une install facile sous Linux, paquet Debian pour OLSR, ...
* '''[http:/mtx/ Feed MeshCube]''': Distribution et Package Feed pour la distribution Nylon (Voire aussi [[MeshCube]])
== Services en projet ==
* Pas de projets pour le momment
*''Ajoutez ici vos souhaits!''
* ...
1387
1385
2005-10-20T16:15:10Z
Phil
1
wikitext
text/x-wiki
= Bienvenue sur le noeud Bulles =
Bienvenue sur le noeud RéseauCitoyen des Bulles!
'''Note''': Bien que ce serveur Web soit aussi visible sur Internet, certains liens de cette page ne sont disponibles que via RéseauCitoyen
{| width="100%" style="border-top:1px solid red; border-right:1px solid red; border-bottom:2px solid red; border-left:1px solid red;"
|-
| Au cours de ces derniers mois j'ai petit à petit perdu ma motivation pour ce projet...
Temps pour revoir ses priorités...
<br />Temps pour passer à d'autre choses...
<br />Le noeud des Bulles reste bien sûr actif, mais je ne prévois plus de maintenance dans un avenir proche
Philippe
<br />Octobre 2005
|}
== Services disponibles sur ce noeud ==
* '''Le wiki des Bulles''': Vous y êtes! C'est ici! <br />C'est un Wiki essentiellment technique supportant des projets RéseauCitoyen. <br />Quelques pointeurs
** [[Bubble]]: Distribution RéseauCitoyen minimaliste (floppy, ...) <br />La distribution est en réécriture pour l'instant!
** [[RC-1000]]: Distribution RéseauCitoyen pour RG-1000
** [[Opération Panik]]: Setup de noeuds en vue de streaming audio
* Un '''serveur de temps''' (NTP) de Stratum 3
* Le '''[http:/cgi-bin/viewcvs.cgi/ReseauCitoyen CVS]''': Code sources de projets RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble Bubble]: Distribution Bubble
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/OpenWRT/ WRT Citoyen]: Distribution OpenWRT avec les packages RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/RC-1000/ RC-1000]: Distribution RG-1000
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/aodv-uu-ipt/ AODV-IPT]: AODV-UU 0.8.1 avec les patches iptables
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/rc-watchdog/ RC-Watchdog]: Script de monitoring de noeud
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/dnsp2p/ DNS Peer to Peer]: implementation en Python réalisée par Gaëtan Kowalkowski
* '''[http:/nagios/ Monitoring du réseau]''': Monitoring réalisé avec Nagios ('''Non disponible pour l'instant''')
* '''[http:/rc1000/ Feed RC-1000]''': Distribution et Package Feed pour la distribution [[RC-1000]]
* '''[http:/openwrt/ Feed OpenWrt]''': Distribution et Package Feed pour la distribution OpenWrt (Voire aussi [[Wrt Citoyen]])
* '''[http:/i386/ Binaires i386]''': Noyeau et binaires AODV pour une install facile sous Linux, paquet Debian pour OLSR, ...
* '''[http:/mtx/ Feed MeshCube]''': Distribution et Package Feed pour la distribution Nylon (Voire aussi [[MeshCube]])
== Services en projet ==
* Pas de projets pour le momment
*''Ajoutez ici vos souhaits!''
* ...
1393
1387
2006-11-19T07:36:33Z
Fraseyboy
2
wikitext
text/x-wiki
= Bienvenue sur le noeud Bulles =
Bienvenue sur le noeud RéseauCitoyen des Bulles!
'''Note''': Bien que ce serveur Web soit aussi visible sur Internet, certains liens de cette page ne sont disponibles que via RéseauCitoyen
{| width="100%" style="border-top:1px solid red; border-right:1px solid red; border-bottom:2px solid red; border-left:1px solid red;"
|-
| Au cours de ces derniers mois j'ai petit à petit perdu ma motivation pour ce projet...
Temps pour revoir ses priorités...
<br />Temps pour passer à d'autre choses...
<br />Le noeud des Bulles reste bien sûr actif, mais je ne prévois plus de maintenance dans un avenir proche
Philippe
<br />Octobre 2005
|}
== Services disponibles sur ce noeud ==
* '''Le wiki des Bulles''': Vous y êtes! C'est ici! <br />C'est un Wiki essentiellment technique supportant des projets RéseauCitoyen. <br />Quelques pointeurs
** [[Bubble]]: Distribution RéseauCitoyen minimaliste (floppy, ...) <br />La distribution est en réécriture pour l'instant!
** [[RC-1000]]: Distribution RéseauCitoyen pour RG-1000
** [[Opération Panik]]: Setup de noeuds en vue de streaming audio
* Un '''serveur de temps''' (NTP) de Stratum 3
* Le '''[http:/cgi-bin/viewcvs.cgi/ReseauCitoyen CVS]''': Code sources de projets RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble Bubble]: Distribution Bubble
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/OpenWRT/ WRT Citoyen]: Distribution OpenWRT avec les packages RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/RC-1000/ RC-1000]: Distribution RG-1000
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/aodv-uu-ipt/ AODV-IPT]: AODV-UU 0.8.1 avec les patches iptables
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/rc-watchdog/ RC-Watchdog]: Script de monitoring de noeud
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/dnsp2p/ DNS Peer to Peer]: implementation en Python réalisée par Gaëtan Kowalkowski
* '''[http:/nagios/ Monitoring du réseau]''': Monitoring réalisé avec Nagios ('''Non disponible pour l'instant''')
* '''[http:/rc1000/ Feed RC-1000]''': Distribution et Package Feed pour la distribution [[RC-1000]]
* '''[http:/openwrt/ Feed OpenWrt]''': Distribution et Package Feed pour la distribution OpenWrt (Voire aussi [[Wrt Citoyen]])
* '''[http:/i386/ Binaires i386]''': Noyeau et binaires AODV pour une install facile sous Linux, paquet Debian pour OLSR, ...
* '''[http:/mtx/ Feed MeshCube]''': Distribution et Package Feed pour la distribution Nylon (Voire aussi [[MeshCube]])
== Services en projet ==
* Pas de projets pour le momment
*''Ajoutez ici vos souhaits!''
* ...
[http://www.fortune-slots.com/ slots]
[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash]
[http://www.casino-games-wiki.com/index.php/casino_games_game casino games game]
[http://www.casinos-new.com/internet-casino.html Online casino - Internet Casinos]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.web-craps.com craps]
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
[http://www.bestweb-online-casinos.com/slots-game/diamond-club-slots.html diamond club slots]
[http://www.magical-casino.com/casino_games.html Casino games.]
Bubble:Community Portal
4
1278
1382
1279
2005-10-20T14:31:53Z
Phil
1
wikitext
text/x-wiki
= Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
LocalSettings.php:
# Protocols -- we need this shortcut to link outside the wiki
# (Same behaviour in MoinMoin)
$wgUrlProtocols .= '|http:';
# Take care of the reverse proxy
$wgUseSquid = false;
1383
1382
2005-10-20T14:45:59Z
Phil
1
wikitext
text/x-wiki
= Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
= Technicalities =
This wiki is available at the same time on Internet and [http://www.reseaucitoyen.be RéseauCitoyen]. Historically it was hosted on my home gateway, but the hardware is too old to be able to run MediaWiki happily.
<br />So I eventually decided to move the wiki to the datacenter and use a reverse proxy for the [http://www.reseaucitoyen.be RéseauCitoyen] side. This implies that we need to detect proxies, and be able to link outside the wiki, without specifying the name of the server. This requires a couple of changes in the ''LocalSettings.php'' configuration file:
# Protocols -- we need this shortcut to link outside the wiki
# (Same behaviour as MoinMoin)
$wgUrlProtocols .= '|http:';
# Take care of the reverse proxy
$wgUseSquid = false;
MeshCube
0
1327
1384
2005-10-20T15:24:16Z
Phil
1
wikitext
text/x-wiki
= Configuration Basique d'une Mescube pour ReseauCitoyen =
Document sans ambition -- juste un brain-dump après une configuration.
<br />Le but n'est pas de réaliser une distribution complète, mais de configurer rapidement un cube pour RC.
= Installation de base =
Le cube est installé avec [http://meshcube.org/meshwiki/NyLon NyLon]
Pour reflasher le cube, on utilise la procédure [http://meshcube.org/meshwiki/InstallImage InstallImage]
/!\ Le reflachage implique la perte totale de la configuration du cube
== Script d'ugrade ==
Si le cube tourne encore l'ancienne distribution, il faut tout d'abord récupérer le script ''install-image'':
wget http://meshcube.org/nylon/utils/install-image
/!\ La distribution originale contient elle aussi un script ''install-image'' qui ne fait pas la même chose.
== re-flashage ==
On installe Nylon 0.8 pre2
install-image -s http://bulles.bxl.rc/mtx/images
ou
install-image -s http://reseaucitoyen.be/diskless/mtx/images
Si vous utilisez un serveur local, vous devez copier ''filesystem.img.gz'' et ''kernel.img.gz''
Le flashage prend ensuite une dizaine de minutes, surtout '''ne pas éteindre le cube'''!
On peut ensuite accéder le cube, il prend une adresse DHCP sur le port ethernet, et est de toutes façons accessible sur 192.168.0.250 en ssh, sans mot de passe root.
= Configuration =
Le cube est configuré par défaut en mode AP sur la première interface wireless et en mode Mesh sur la seconde.
Voici quelques opérations a effectuer pour le convertir en noeud RC de base
== Mot de passe ==
Mettez un mot de passe pour root!
== HostName ==
vi /etc/hostname
== Firewall ==
Shorewall est configuré pour l'environnement [http://meshcube.org Meschube].
<br />Pour ne pas se prendre la tête, on le désinstallera...
ipkg remove shorewall
Alternativement, reconfigurez shorewall, mais la config de base ne fonctionnera pas en mode !ReseauCitoyen!
== Reseau ==
On va ré-assigner la première (et seule) interface wireless au réseau RC:
/etc/network/interface:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Ethernet
auto eth0
iface eth0 inet dhcp
# wlan interface for mesh
auto wlan0
iface wlan0 inet static
address 10.10.223.73
netmask 255.0.0.0
broadcast 10.255.255.255
wireless_mode ad-hoc
wireless_essid bombolong
wireless_channel 1
Adaptez éventuellment ''eth0''
== Configuration du Mesh ==
Il faut changer la configuration initiale du mesh (répertoire /etc/nylon)
=== hostap.conf ===
Parametres par défaut, si ce n'est
MESH_BASIC_RATES="1"
Limite le ''rate'' à 2Mb/s
=== interfaces.conf ===
#
# high level interfaces definition for scripts
#
#
# which physical interfaces do we have
# default: "eth0 wlan0 wlan1"
#
INTERFACES="eth0 wlan0"
#
# interface serving the clients
# default wlan0
#
WLANIF_CLIENT="xxx"
#
# interface for the mesh
# default: wlan1
#
WLANIF_MESH="wlan0"
=== route.list ===
Enlever les routes par défaut
== IPKG ==
Ajouter le feed dans /etc/ipkg.cong
src bulles http://bulles.bxl.rc/mtx/ipk
Retirer le lien vers le feed original dans ''/etc/ipkg/nylon-feed.conf''
== OLSR ==
Installer olsrd-libs
ipkg update
ipkg install olsrd-libs
La configuration installée basée sur le NLQ et ne devrait pas être changée.
= C'est tout! =
Rebootez le cube, tout est en ordre...
Current events
0
1328
1386
2005-10-20T16:00:07Z
Phil
1
wikitext
text/x-wiki
; Octobre 2005
: I have been busy with all this for a long time... <br />It represent a lot of hours and a lot of nights... <br />Over the last couple of months I have to say I have lost my motivation around these projects. Time to reassess priorities, time for new projects! <br />I do not plan to work on this in the near future, but it remains of course available for everybody!
; Octobre 2005
: Some experiments with [[Bering-uClibc]]
; Septembre 2005
: Migration to MediaWiki
Rg Flash
0
1297
1388
1302
2006-10-24T11:01:08Z
Fraseyboy
2
wikitext
text/x-wiki
[[Category:RC-1000]]
= Introduction =
[http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann] has made a very good work to allow to run [http://www.etherboot.org Etherboot] from the RG-1000.
The nice thing is that the code is prepended to the original firmware, and Till's ''initial loader'' allows you to choose between [http://www.etherboot.org Etherboot] and the original firmware.
Although Till's work could be used ''as is'', I have ported the changes to [http://www.etherboot.org Etherboot] 5.2.3 (from 5.0.0), and dropped the features I was not using (mainly the possibility to [http://www.etherboot.org Etherboot] wireless).
http://www.plasma-online.de/index.html?content=http%3A//www.plasma-online.de/english/upgrade/tweak/fixes/fix_apple_airport.html
= Initial Loader =
No particular issue here, I just made minor modifications:
* Makefile and directory structure changed.
*** We try do download the !KarlBridge firmware directly from Internet
*** Directory layout changed (''bin'' and ''firmware'' are ignored by CVS, which makes things easier)
* The loader accept lowercase characters (I was tired to press the ''shift'' key)
* The NVRAM data is not extracted anymore at this place -- we are not using it anyway
= Etherboot =
The porting to [http://www.etherboot.org Etherboot] 5.2 has been a major headache...
<br />The RG-1000 crashed at the very beginning. It took me at least a week to understand where it crashed (enabling interrupts in real mode), and more than a week to try to fix it until I realized that Till's original version did not work either under the same circumstances!
/!\ '''After flashing the firmware, the RG-1000 must be powered off!'''
The original !KarlBridge firmware does not seem to have a problem with that, but [http://www.etherboot.org Etherboot] will definitely not run after a firmware upgrade until the RG-1000 is powered off.
<br />I should have know, it is stated in Till's pages...
The main changes to the ''stock'' [http://www.etherboot.org Etherboot] are:
* Configuration files
* Patches to the Lance network driver
[http://www.etherboot.org Etherboot] 5.2 is running 'as good as' 5.0 -- what I mean by that is not always initialized properly after a cold boot; but works after a reset.
<br />This needs further investigations.
Compared to the original changes made by [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till], I have dropped significant part of his code:
* Support for booting from the wireless device. <br />Although it looks attractive, we would need to have anyway another node in the area which accepts non-AODV requests. This can be a nice-to-have, but out-of-scope at this time...
* Checksum on packet received. <br />This is mainly useful when you boot wireless.
* Handling of the NVRAM data (not) saved by the loader
[[Anchor(Flash)]]
= Flashing the RG-1000 =
You need:
* A client tool to upload the new firmware. <br />I am using the java-based [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] (GPL). <br />All the screenshots from this page are based on this tool. <br /> /!\ If the home page of the ''RG-1000 Configurator'' is not accessible, you can download it from [http://reseaucitoyen.be/diskless/rc1000/ here].
* The new firmware, which is a bundle: ''Initial Loader''/[http://www.etherboot.org Etherboot]/!KarlBridge <br />It is included in the ''RC-1000'' [http://reseaucitoyen.be/diskless/rc1000/ distribution package].
Several cases are possible, depending on the initial state of your RG-1000.
== Original Orinoco Firmware ==
I have no clue on what the original firmware is, I never tried it!
If the hardware of the RG-1000 is the same as the Apple Airport, it does not seem that they are using the same firmware.
As far as I know, the only way to flash the RG-1000 with a custom firmware is to use the [[#ForcedReload forced reload]] procedure as described hereunder.
As illustrated here, you can use the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] to ''talk'' to the RG-1000, '''but you will not be able to flash it''': the flash procedure works, but at the end, you still have the original firmware. It looks like it does not want to flash a non-Orinoco firmware...
# Start the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] <br />http://reseaucitoyen.be/albums/rg1000/aau.png
# Select ''Discover Devices'' (I have a DHCP server in my network) <br />http://reseaucitoyen.be/albums/rg1000/aav.png <br />Note the 6 hex digits numbers at the end of the ''Device Name'' line (059c62 here): this is the ''Id'' of your RG-1000. It is also printed out on the labels that are under and behind the device. It is actually the initial '''password''' (Community Name) and by the way the last 3 bytes of the mac address of the wireless card (the ones we are using to set the IP :-? ). <br />Thanks to [[RC/PhilippeTeuwen|PhilT]] for this information.
# On the main page you can then enter the IP and password you ''discovered'' and ''retrieve configuration''<br />http://reseaucitoyen.be/albums/rg1000/aaw.png
# That's it! as said above, you will not be able to flash the RG-1000 from here, so it is it is time to say goodbye to the original firmware and proceed to the next section: the [[#ForcedReload forced reload]] procedure
[[Anchor(ForcedReload)]]
== Forced Reload Procedure ==
You will have to use this procedure if for whatever reason your firmware is dead (uploaded bad firmware) or if you have the original Orinoco firmware on your RG-1000.
# Power off your RG-1000
# Press the ''Force Reload'' button '''and keep it pressed'''<br />http://reseaucitoyen.be/albums/rg1000/aag.sized.jpg
# Power the device on
# Wait until the ''Power'' LED turns orange, all others off
# Release the the ''Force Reload'' button
# Start the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] <br />http://reseaucitoyen.be/albums/rg1000/aau.png
# Select ''Discover Devices'' <br />http://reseaucitoyen.be/albums/rg1000/aba.png <br />Note that the output is not the same as before (a.o. DHCP is not used).
# To be able to upload the new firmware, you will have to be in the '''same subnet'''!<br />At this time, reconfigure your interface. On Linux, you can do that very easily by adding a ''virtual'' interface:<br />
# ifconfig eth0:1 153.69.254.1 up
# Enter the IP address of the RG-1000 (153.69.254.254) and the password (use '''public''') in the configurator
# From the ''File'' menu, select ''Upload new base station firmware'' <br />http://reseaucitoyen.be/albums/rg1000/abb.png
# Select the new firmware <br />http://reseaucitoyen.be/albums/rg1000/abc.png
# Select Upload firmware with default settings <br />http://reseaucitoyen.be/albums/rg1000/abd.png
# The RG-1000 will reboot <br />http://reseaucitoyen.be/albums/rg1000/abe.png
# At this stage, do not forget to '''power-off''' the device or the customized firmware will not work (crash in [http://www.etherboot.org Etherboot])
/!\ Note that by default, the RC-1000 customized firmware boots by default with [http://www.etherboot.org Etherboot] and does '''not''' load !KarlBridge. If you still want to load !KarlBridge, you have to disconnect the network cable at boot time.
== KarlBridge Firmware ==
Once you have the !KarlBridge firmware running (either the pristine !KarlBridge or the RC-1000 customized) you can very easily flash new firmwares -- just use the java-based [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] without any special trick.
<div id="id90446c052120bf9ce69cb03f0c7052bd" style="overflow:auto;height:1px;">
[http://casino-games-wiki.com/index.php/casino_games casino games]
[http://casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://adipex-wiki.com/index.php/adipex adipex]
[http://adipex-wiki.com/index.php/buy_adipex buy adipex]
[http://adipex-wiki.com/index.php/adipex_online adipex online]
[http://tramadol-wiki.com/index.php/tramadol tramadol]
[http://tramadol-wiki.com/index.php/cheap_tramadol cheap tramadol]</div>
Install guide
0
1285
1390
1290
2006-11-19T06:48:17Z
Fraseyboy
2
wikitext
text/x-wiki
{{Outdated}}
This page describes the necessary steps needed to get get a bubble node up and running.
= Requirements =
We need basically some hardware for the node, plus an additional system to package the distribution.
* The node itself
** Intel 386 compatible hardware
** 16 MB RAM
** A wireless interface supported by Linux (!)
** A boot device supported by Bubble (floppy, CD-ROM, CF-Card, Network card, ...)
** An optional network card
* A computer to package the distribution. There is no restriction on the Operating System, but it need to be able to create the boot device: format/write MS-DOS FAT filesystem (floppy/CF-Card node), burn ISO CD-ROM for CD-ROM based node, or act as BootP/DHCP/TFTP server for a network based node.
= Installation overview =
There are 3 ways to get the distribution packaged
* Build from source: this is probably the hardest way!<br />You may want to build from source if you want to modify the distribution.<br />Read [[Bubble development]] and if you still want to go on, get a [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble/ tarball] with the source and compile the whole stuff!<br />Browse this wiki for more information.
* Use the RC-Matic: from one extreme to the other, the RC-Matic allows you to describe your configuration on the Web, and download all the parts needed to run your node.<br />At this time, the RC-Matic only generates [[DiskLess]] images! Conversion to Bubble is under way. But the need of an custom image is very limited since Bubble is much more configurable at run-time than [[DiskLess]].
* Use pre-build packages: last but not least, there are already some pre-build packages available, so you just have to download them, put it on your boot device and your node is ready!
This [[Install guide]] describes how to get a node up and running with pre-build packages.
<br />Pre-build packages are available at http://reseaucitoyen.be/diskless/bubble
By using pre-build packages, you can have your bubble node operational in just a few minutes once you now your hardware configuration.
<br />Installation is done in 3 steps:
# Download the components;
# Review and customize your configuration file;
# Copy all the parts on your boot media.
= Download Components =
You will need 3 parts:
* The [[Bubble configuration file]]
* The Core System
* The Packages
== Configuration File ==
Just download the configuration file template as base for your configuration: BubbleImage:bubble.cfg
== Core System ==
The Core System is made of the [[Linux kernel]] and a root file system.
The package you need depends on how you want to boot your Bubble node:
* FAT based (Floppy, CF-Card): review SysLinuxBoot to select the right core package;
* CD-ROM based: download BubbleImage:core-images/cdrom-ide and the review [[IsoLinux boot]] page.
* Network based: review [[Network boot]] to select the right core package.
== Packages and Drivers ==
Bubble is is very flexible in its content. You just have to download the packages you want to install. The only limitation is the disk space if you boot from floppy, and the available memory.
A complete list of the available packages and their parameters are available in [[Bubble configuration file]]. Read more about packages in [[Bubble package]].
You will typically use:
* keybbe: Belgian keyboard mapping
* pcmcia: if you need to support pcmcia devices!
* wtools: wireless tools (not needed if you are using a wireless bridge such as the Linksys Wet-11)
* iptables: for the firewalling
* aodv: for the routing
* tinyhttp: a nice to have -- it includes a useful node status page
* ssh: if spaces allows it!
All the packages are located at BubbleImage:packages.
You will have also to download the drivers to support your hardware (wireless card, network card, ...)
<br />There is already a whole bunch of driver packages available on BubbleImage:packages/drivers. If you are missing something, just tell me and I will include it.
<br />Note that the driver packages always includes the dependencies -- you do not need to download them separately. E.g. if you have an Avaya PCMCIA card, the only driver package you need to download is BubbleImage:packages/drivers/orinoco_cs.tbz.
= Review configuration file =
Review your configuration file to match your hardware.
See [[Bubble configuration file]] for detailed explanation.
<br />The template you have downloaded contains more than you usually need. You should just review and check all entries.
For each package tarball (.tbz file), there is always an associated [[Bubble configuration file]] template with the .cfg extension. This template contains the right values for the ''size'' and ''inode'' package parameters.
= Make your boot device =
You have now all the pieces of the puzzle! The last step is to dump everything on your boot device.
Details of the operation depend on your boot device:
* FAT based (Floppy, CF-Card): see [[SysLinux boot]];
* CD-ROM based: see [[IsoLinux boot]];
* Network based: see [[Network boot]].
Note that all files should be placed in the same directory. The exceptions are:
* The [http://syslinux.zytor.com/pxe.php PXELinux] configuration file in case of a [[Network boot]] via PXE;
* [[Network boot]] again, the [[Bubble configuration file]] can be in a separate directory to allow multiple nodes to share the same code;
= Boot your node =
Just boot your node and you are done!
You may want to change the root password if you have enabled ''telnetd''. Once done, copy the encrypted value from ''/etc/passwd'' to your [[Bubble configuration file]].
<br />You can do the same with your ''ssh'' public and private keys.
Enjoy!
[[Category:Bubble]]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
[http://www.online-casino-wiki.com/index.php/online_casino_tips online casino tips]
[http://www.casino-theory.com/online-casino-royale/play-free-online-casino.html play free online casino]
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
[http://www.casino-theory.com/online-casino-bonus/index.html online casino bonus]
[http://www.casinos-go.com/online-casino-tips/online-casino-games.html online casino games]
[http://www.fortune-slots.com/ slots online]
[http://www.gambling-online-theory.com/casinos/strategy-casinos.html strategy casinos]
[http://www.magical-casino.com/choosing_casino.html Online Casino - Choosing the best casinos.]
Bubble package
0
1289
1391
1294
2006-11-19T07:00:04Z
Fraseyboy
2
wikitext
text/x-wiki
{{Outdated}}
= About Packages =
In order to keep the ''core'' as small as possible, and to allow flexibility, most of the Bubble components are stored in packages.
<br />Packages may have different purpose:
* Configuration: a few scripts to configure the node (keyboard, ...)
* Drivers: install the drivers needed to run the node (typically Wireless drivers)
* Software: optional packages for the node (ssh, ...)
* ...
We do not need extended package functionality, since the distribution is ''non-persistent'' -- it is re-build at boot time.
<br />We need the following functionality
* ''Install'' files
* Run ''install'' scripts to configure the package
* Have start/stop scripts to manage the ''service''
= Package Structure =
The package is composed of 2 parts
* A configuration file: an ASCII file that everyone can edit to customize the package for a particular node.<br />The format is the same as the [[Bubble configuration file]], and the contents are actually merged.
* A tarball containing the package itself
== Package Naming ==
Since we want to be able to boot from FAT, the package (file) name is limited to 8 characters!
== Package Configuration ==
The package configuration is part of the [[Bubble configuration file]] as a ''section''
It contains:
* The disk space required to install the package (in KB)
* The number of i-nodes required to install the package
* Any other parameter needed to configure the package<br />These options will be made available to the install script.
Examples (See [[Bubble configuration file]] for the full syntax with hints for the user interface)
...
[packages] # Only the packages in the list will be considered
package.list = long # Long form example
package.list = short # Short form example
...
# Long declaration: all the parameters are used
[long]
size = 10 # RamDisk space required to install this package (in KB)
# Default 0
inode = 10 # RamDisk inodes required to install this package
# Default 0
load = yes # Load this package? (to be installed we need to have the
# package in the above list AND load = yes here)
# Default yes
file = long.tbz # Package file name
# Default <package.tbz>
retry = 0 # If the file is not found, how many retries are we doing?
# (Useful in case of floppies, to be able to switch the media)
# Default is 0: Skips package is file is not there
# This parameter overrides the same at [package] level
install = long # Installation script for the package, in /tmp
# Default <package>
start = yes # Start the service at boot time? (if applicable -- nothing is
# actually done, this parameter is just available for the scripts)
# Default yes
# Any other parameter for the use of this package
[short]
# Actually we do not need anything here! using the defaults: no space will be allocated for the package,
# it will be loaded from the short.tbz file,and the default install script /tmp/short will be run if it exists.
At build time, in addition to the tarball, a template for the [[Bubble configuration file]] is generated and contains the right ''size'' and ''inode'' parameters.
During the boot process, for all the packages, a ''/etc/default/<package>'' is created, and all the parameters are defined there as environment variable.
<br />Example:
[hello]
param = Hello World
generates ''/etc/default/hello'' file:
_PARAM="Hello World"
The parameter is capitalized, and an underscore is prepended to minimize environment variable clashes when the file is sourced.
== Package tarball ==
The configuration file is named
'''<package>.tbz'''
and is a ''bzipped'' tarball.
It contains (all parts are optional):
* All the package files (Path relative to root)
* A configure/install script (in /tmp)
* Start/Stop script for the service (System-V like -- See below): /etc/init.d/<package><...>.sh
The ''stop'' part of the script is not very crucial in the light of a diskless node, but can be interesting for
* Manual intervention (stop firewall, ...)
* Nicely release network resources (DHCP lease, ...)
Note that [[BusyBox]] init does not know anything about runlevels, but for the sake of clarity we will use the System-V / Debian convention, assuming the system is running in level 2:
* /etc/init.d as repository for all startup scripts
* /etc/rcS.d for all the scripts run at startup, just after the ''pivot_root''.<br />These are reserved for system initialization tasks, so no package scripts should come here.<br />Naming convention: Snn<script> symlinked to the real script in /etc/init.d
* /etc/rc2.d for all the packages start scripts.<br />Naming convention: Snn<package><...>.sh symlinked to the real script in /etc/init.d
* /etc/rc0.d for all the packages stop scripts.<br />Naming convention: Knn<package><...>.sh symlinked to the real script in /etc/init.d
In the [[BuildRoot]], if the start/stop script contains (similar to the !RedHat chkconfig):
# bubbleconfig: 2 xx yy
links to the Sxx and Kyy will be build automatically (during the fixup phase of the build -- not at runtime!)
= Driver Packages =
A driver package is a package which is build to support some hardware and consists of one or more modules.
These packages can be build automatically by including the name of the module in the [[Bubble configuration file]]. E.g.:
[image]
# ...
driver.list = ewrk3 # DEC EtherWORKS
driver.list = orinoco # Hermes or Prism 2 chipset
driver.list = rt2400 # Realtek 2400 chipset
# ...
In the above example we will generate 3 packages, each of them will contain the base module plus all its dependencies.
Unless ''start = no'' is specified for a particular driver, all drivers will be loaded at the early stage of the boot process. (current implementation: '''all''' drivers are loaded)
All drivers accept a ''module_params'' run time parameter which will be passed to the module. E.g.
[ewrk3]
size = 56
inode = 10
module_params = io=0x300 irq=5
(current implementation: ignored)
= Existing Packages =
See [[Bubble configuration file]] for the list of existing packages and their respective options.
= Links =
''We can group the links somewhere else...''
* [http://www.linuxrouter.org/ Linux Router Project (LRP)] -- no development anymore
* [http://leaf.sourceforge.net/ Linux Embedded Appliance Firewall (LEAF)]: the re-incarnation of [http://www.linuxrouter.org/ LRP]
* [http://www.routerlinux.com/ RouterLinux]: another uClibc/ [[BusyBox]] based GNU/Linux distribution
* ...
[[Category:Bubble]]
[http://www.gambling-online-theory.com/casinos/fun-casinos.html fun casinos]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
[http://www.slots-wiki.com/index.php/slots_tips slots tips]
[http://www.magical-casino.com/choosing_casino.html Online Casino - Choosing the best casinos.]
[http://www.casino-games-wiki.com/index.php/play_casino_games play casino games]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.fortune-slots.com/ online slots]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
Gestion Divers
0
1315
1392
1327
2006-11-19T07:16:17Z
Fraseyboy
2
wikitext
text/x-wiki
= A faire =
* Taches a effectuer, ...
* ...
= 17 Novembre 2004 - 8:00 - Intervention sur place - Soekris Ivan (Labo) =
Intervenants : Philippe
'''Incident''': La soekris n'est plus dans le nuage AODV
'''Analyse''': sur la console le message suivant défile sans arrêt:
eth2: information frame lost
La carte (le driver ?) à l'air dans les choux -- le problème est résolu par un `cardctl eject / insert`.
<br />Le message vient de orinoco.c et est spécifique à ce driver
AODV est redémarré et la machine rejoint le nuage immédiatement.
'''Conclusion''': pas d'action immédiate particulière à noter que
# On utilise de toutes façon plus trop les cartes orinoco
# La soekris ne tourne pas la dernière version des drivers, et il y a eu des changement dans le code a cet endroit récemment
# On pourrait utiliser HostAP
A plus long terme, mettre à jour la distribution
= <date> 2004 - <heure> - Intervention [sur place|distante] =
Intervenants : ....
* Détails de l'intervention
* .......
[[Category:Gestion RéseauCitoyen]]
[http://www.3wcasinos.com/roulette-tips/index.html roulette tips]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
[http://www.casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.slots-wiki.com/index.php/slots_tips slots tips]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.online-casino-wiki.com/index.php/online_casino_tips online casino tips]
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
[http://www.bestweb-online-casinos.com/slots-game/diamond-club-slots.html diamond club slots]
[http://www.casinos-new.com/internet-casino.html Online casino - Internet Casinos]
Installation Panik
0
1308
1394
1317
2006-11-19T09:04:54Z
Fraseyboy
2
wikitext
text/x-wiki
= Quand? =
Date prévue: le Samedi 2 Octobre.
RC:IvanMarkoff propose rendez-vous vers 10H30 chez lui:
<br />rue Potagère, 103
<br />pour préparer le câble et vérifier le matos
RC:IvanMarkoff viens de téléphoner à Serge. Il ne pourra pas venir avant 13h.
<br />Mais pas de problèmes, il apportera les clefs de panik la veille vendredi pm.
Donc:
* Quelques jours avant l'install :
** Dresser la liste des points joignables depuis Josaphat.
** Le plus simple serait de sauver la page RC:ExtensionPlanAdressage sur le laptop qui fera partie du matériel d'install (Phil - OK)
** Contacter toutes les personnes pouvant participer aux tests de chez eux
*** Said OK : mettra le noeud tagawa en mode RC:ReseauCitoyen
*** Guy : à faire - message sur répondeur
*** Gilles : à faire
* Vendredi
** vers 13h Serge dépose les clefs de Panik (rue St-Josse) chez ivan
* Samedi
** rendez-vous chez RC:IvanMarkoff vers 10h30
** Vers 11h30, installation panik
** Vers 12h30 on bouffe près de Josaphat et on téléphone à Serge pour lui donner l'adresse du resto où on l'attend
** 13h30 install josaphat
= Pré-Install =
Lister ici ce qu'il faut encore faire, acheter, ... avant le jour de l'install
* ...
= Ne pas oublier =
Pour le jour de l'install
== Matériel a amener ==
'''Panik'''
* Hardware
** PC + bridge ISA/PCMCIA + carte pcmacia cisco aironet ''(Phil - OK)''
** pigtail mmcx to rp tnc femelle ''(Phil - OK)''
** antenne rubber duck rp tnc mâle ''(Phil - OK)''
** bac + rallonge électrique 15m ''(ivan - OK)''
** câble Ethernet long + croiseur + câble court ''(sur place)''
* Outillage
** rien
* Quincaillerie
** rien
'''Josaphat'''
*Hardware
** PC + bridge ISA/PCMCIA + carte pcmacia engenius ''(Phil - OK)''
** pigtail mmcx to N mâle ''(ivan - OK)''
** câble ecoflex15 (20m) + 1 connecteur N femelle + 1 connecteur N mâle ''(ivan - OK)''
** antenne 9dBi tilt 0° (N femelle) + attache et colliers ''(ivan - OK)''
** pied photo pour support antenne pour essai avant install définitive ''(ivan - OK)''
** .... ?
* Outillage
** Foreuse à percussion pneumatique + mèches ''(ivan - OK)''
** visseuse portative bas de gamme, si quelqu'un a mieux, c'est le bienvenu ''(ivan - à préparer)''
** visseuse portative milieu de gamme ''(Phil - OK)''
** niveau d'eau ''(ivan - à préparer)''
** ... ?
* Quincaillerie
** allonge étectrique (5 m) + prise multiple (2 m) pour relier le PC au secteur ''(ivan OK)''
** attaches pour câbles éléctriques 16mm ''(ivan OK)''
** vis + chevilles ''(ivan OK)''
** 2 équerres pour étagère pour PC ''(ivan - OK)''
** 1 planche pour étagère ''(ivan - OK)''
** petites vis pour fixer la planche sur les équerres ''(ivan - OK)''
** bande auto-amalgamante pour connecteur antenne ''(ivan OK)''
** ... ?
'''Matériel concernant les 2 points et divers'''
* Portable et cable réseau croisé pour se connecter aux noeuds si nécessaire: ''(Phil - OK)''
* Frein filet (pour les attaches d'antenne): ''(Phil - OK)''
* Appareil photo ''(Phil - OK)''
* Carte et plan de Bruxelles ''(ivan - OK)''
* Jumelles ''(ivan mais ancienne, pas très bonne - OK)''
* ... ?
== Questions ==
* A-t-on un cable réseau pour aller du RC:CitizenBack Panik au studio?
** Oui.
* Qu'est-ce du frein filet ?
** C'est une produit qui permet de ''freiner le filetage'' des vis, c'est a dire empecher les vis de se faire la malle. C'est essentiellement utilisé en mécanique automobile où les vibrations font que tout se dévisse. Par principe sur tout montage extérieur je m'assure qu'il y aie soit des rondelles ''grauer'' soit du frein filet.
* Qu'est-ce de la bande auto-amalgamante ?
** Est-ce similaire à de la gaine thermo-rétractable? Si oui, il faut prévoir un décapeur thermique....
** Non, pas besoin de chauffer. C'est un ruban élastique qui se soude à lui-même.
* Les noeuds de St-Josse sont-ils tous passés en canal 1?
** En principe oui, depuis ce jeudi soir
* ...
== Matériel divers ==
* De la [http://www.chimay.com/www/chimay/site8/dynamique/fr/preview/fiche_b.cfm?p_b_or_f=B&p_langue=FR&p_id_produit=298 ChimayBleue] (Optionel vu que Eric n'est pas là....)
* ...
= Rapport d'install =
Equipe de choc : sympa, cool, et hyper efficace
Oublis :
* capot du pc
* et plus grave : on a oublié de mettre la bande de protection du connecteur d'antenne
Suite voir page [[Gestion Josaphat]]
[[Category:Opération Panik]]
[http://www.casino-games-wiki.com/index.php/play_casino_games play casino games]
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
[http://www.gambling-online-theory.com/casinos-portal/best-casinos-online.html best casinos online]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.casinos-new.com/blackjack.html Online casino - Blackjack online]
[http://www.3wcasinos.com/roulette-tips/roulette-description.html roulette description]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
Wrt Citoyen
0
1316
1395
1329
2006-11-19T10:05:15Z
Fraseyboy
2
wikitext
text/x-wiki
= OpenWrt pour RéseauCitoyen =
Ce petit How-To décrit l'installation de [[Wrt Citoyen]] sur un WRT de LinkSys
== Préparation ==
Deux cas se présentent: vous avez encore un WRT avec son firmware d'origine ou vous avez déjà configuré votre WRT sous OpenWrt.
=== Installer OpenWrt ===
L'installation d'OpenWrt sort du cadre de ce How-To et est très bien décrite dans le [http://openwrt.org/userguide.html guide de l'utilisateur].
Les firmwares compilés (et testés!) sont disponibles sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/
** http://10.51.110.172/openwrt/
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
Quelques points à prendre en considération:
* Dans une configuration ReseauCitoyen, vous n'avez sans doute pas besoin de ''dnsmasq'' -- désactivez le!
* Vous allez devoir changer le configuration de IPKG, donc il faut le mettre en lecture/écriture
* Procédez de la même façon si vous devez modifier ''/etc/resolv.conf''
@wrt-bulles:/# killall dnsmasq
@wrt-bulles:/# rm /etc/init.d/S50dnsmasq
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
=== OpenWrt déjà intallé ===
Si vous avez une autre version de AODV déjà installée, désinstallez la!
@wrt-bulles:/# ipkg remove aodv-uu
Configurez ipkg pour utiliser le feed !ReseauCitoyen. Le feed est disponible sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/feeds/stable/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/feeds/stable/
** http://10.51.110.172/openwrt/feeds/stable/
Mon fichier ''/etc/ipkg.conf'' ressemble à ceci:
src bulles http://reseaucitoyen.be/diskless/openwrt/feeds/stable
src openwrt http://openwrt.org/ipkg
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
== Configuration Réseau ==
Installez le paquet ''rc-tools'' et exécutez ''rc-setup-net'' qui va s'assurer que votre WRT est prêt pour !ReseauCitoyen:
@wrt-bulles:/# ipkg install rc-tools
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/rc-tools_0.1.1-1_mipsel.ipk ...
Connecting to reseaucitoyen.be:80
rc-tools_0.1.1-1_mip 100% |*****************************| 2305 00:00 ETA
Done.
Unpacking rc-tools...Done.
Configuring rc-tools...Done.
@wrt-bulles:/# rc-setup-net
Please confirm the hardware setting of your WRT:
LAN (4 port Switch) on vlan0
WAN (Separate port) on vlan1
Wireless on eth1
This should be correct unless you played with admcfg...
You can override this by setting the LAN_IF, WAN_IF, WIFI_IF environment variables.
Do you want to continue? Y
I will now configure your WRT for ReseauCitoyen:
No bridging between any interface
LAN (*): Static Address set to 192.168.1.68
WAN (*): Static Address set to 192.168.2.68
Wireless: Static address set to 10.160.249.87
essid bombolong channel 1
(*) No changes are actually done on the LAN/WAN interfaces
Do you want to continue? Y
Writing config to NVRAM...
Commit changes to NVRAM...
nvram_commit(): start
nvram_commit(): end
All done. Please re-boot your WRT to activate the changes
Et rebootez!
== Installation de ssh ==
S'il s'agit d'une nouvelle installation, c'est le momment d'installer 'ssh'!
@wrt-bulles:/# ipkg install dropbear
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/dropbear_0.44test3_mipsel.ipk ...
...
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
== Installation du protocole de routage ==
Le plus dur est fait! Il ne reste plus qu'a installer un paquet AODV ou OLSR:
* '''aodv-uu''': la version originale
* '''aodv-uu-ipt''': la version patchée qui utilise iptables et permet d'utiliser le WRT en temps que passerelle du réseau local non-aodv vers RéseauCitoyen
* '''olsrd''': OLSR configuré pour RéseauCitoyen
/!\ Il semble que l'ipkg de OpenWrt ne supporte pas la clause ''Conflicts'' des paquets...<br />'''Ne pas installer plusieurs de ces paquets en même temps!'''
Exemple:
root@wrt-bulles:~# ipkg install aodv-uu-ipt
AODV est démarré automatiquement au boot.<br />Pour le démarrer/arreter manuellement:
root@wrt-bulles:~# /etc/init.d/S47aodv-uu {start|stop}
Le fichier de configuration ''/etc/aodv-uu.cfg'' permet de le désactiver ou le configurer.
== Paquet Bonus ==
En bonus, un ficher ''host'' récent est disponible sur le ''feed'':
ipkg install hosts-file
[[Anchor(rapide)]]
= Installation Rapide =
La distribution a été mise a jour...
En attendant une meilleure documentation voici les étapes pour une installation rapide d'un WRT neuf
== Firmware ==
Flasher le firmware à partir de l'interface web
== Paquets ==
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
Mise a jour de /etc/ipkg.conf
src bulles http://192.168.1.2/openwrt/feeds/stable
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
Installez tous les paquets
@wrt-bulles:/# ipkg install dropbear rc-tools rc-www aodv-uu-ipt rc-watchdog hosts-file
Configurez le wrt
<br />Convention: exemple pour le wrt 5:
@wrt-bulles:/# rc-setup -h
Usage: /sbin/rc-setup [options]
Options:
-H|--hostname <hostname> set hostname
-l|--lan <addr> set IP Address on the LAN (switch) (*)
--[no]dhcp Enable/Disable DHCP server on the LAN
-g|--gateway <gateway> set (internet) gateway (lan side)
-w|--wan <addr> set IP Address on the WAN port (*)
-r|--rate {0|1|2|5.5|11} set Wireless rate (0 = Auto)
Special Options: (You should normally not need these)
--lanif <lan iface> override LAN Interface (vlan0/2)
--wanif <wan iface> override WAN Interface (vlan1)
--wifiif <wifi iface> override Wireless Interface (eth1/2)
@wrt-bulles:/# rc-setup -H rcwrt-05 -l 192.168.29.135 --dhcp -w 192.168.30.135 -r 2
'''Rebootez'''
@wrt-bulles:/# reboot
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
Testez l'install
Changez /etc/ipkg.conf en une adresse RC
src bulles http://bulles.bxl.rc/openwrt/feeds/stable
dest root /
dest ram /tmp
[http://www.bestweb-online-casinos.com/best-online-casino/online-casino-free-game.html online casino free game]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
[http://www.slots-wiki.com/index.php/slots slots]
[http://www.casino-theory.com/online-casino-royale/online-casino-gamble.html online casino gamble]
[http://www.online-casino-wiki.com/index.php/online_casino_tips online casino tips]
[http://www.casinos-go.com/online-casino-tips/index.html online casino tips]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
Category:RC-1000
14
1296
1396
1301
2006-11-19T10:23:38Z
Fraseyboy
2
wikitext
text/x-wiki
Attempt to run a RC node on a RG-1000 AP...
[http://www.casinos-go.com/online-casino-tips/online-casino-games.html online casino games]
[http://www.casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://www.magical-casino.com/choosing_casino.html Online Casino - Choosing the best casinos.]
[http://www.casino-games-wiki.com/index.php/casino_games_game casino games game]
[http://www.casino-games-wiki.com/index.php/play_casino_games play casino games]
[http://www.magical-casino.com/casino_bonus.html Casino Bonus ]
[http://www.gambling-online-theory.com/casinos-portal/best-casinos-online.html best casinos online]
[http://www.slots-wiki.com/index.php/slots slots]
[http://www.slots-wiki.com/index.php/slots_hints slots hints]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
Gestion RéseauCitoyen
0
1311
1398
1323
2006-11-19T11:02:34Z
Fraseyboy
2
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
[http://www.3wcasinos.com/roulette-tips/roulette-description.html roulette description]
[http://www.slots-wiki.com/index.php/slots_online_bonus slots online bonus]
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.bestweb-online-casinos.com/best-online-casino/online-casino-free-game.html online casino free game]
[http://www.bestweb-online-casinos.com/slots-game/diamond-club-slots.html diamond club slots]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.casino-games-wiki.com/index.php/on_line_casino_games on line casino games]
Category:Opération Panik
14
1302
1399
1318
2006-11-19T11:12:41Z
Fraseyboy
2
wikitext
text/x-wiki
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
[http://www.casinos-new.com/internet-casino.html Online casino - Internet Casinos]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.bestweb-online-casinos.com/best-online-casino/online-casino-free-game.html online casino free game]
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.magical-casino.com/choosing_casino.html Online Casino - Choosing the best casinos.]
SysLinux boot
0
1293
1400
1298
2006-11-19T11:13:05Z
Fraseyboy
2
wikitext
text/x-wiki
{{Outdated}}
= Booting from FAT filesystem =
[http://syslinux.zytor.com/faq.php SysLinux] is a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem.
<br />It allows bubble to boot from any FAT device:
* A floppy disk -- Probably the easiest way to start a bubble node. A single floppy is enough to run a full featured node. However if you want to run ''ssh'' or other ''big'' package, you will need more than one floppy, and your node will not be able to boot unattended anymore.
* A Compact Flash card -- If you have an IDE/CF-Card adapter, just grab an old 2 or 4MB CF-Card and your are ready!
* A hard disk -- may not be very useful, but why not...
= Bubble =
Here are the key Bubble parameters when you want to boot from FAT filesystem:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Section'''||'''Parameter'''||'''Value'''||'''Description'''
|-
|[image]||type||syslinux||Image type will be [http://syslinux.zytor.com/faq.php SysLinux]
|-
|[image]||syslinux_module.list||e.g. msdos, floppy||The modules you need to access the device (''floppy'' in the example), and to support the FAT filesystem
|-
|[image]||syslinux_device||e.g. /dev/fd0||The device used used to mount the filesystem.<br /> /!\ Although this is a ''build-time'' parameter, you can always change the boot device in the [http://syslinux.zytor.com/faq.php SysLinux] configuration file (SYSLINUX.CFG) -- there is no need to regenerate an image
|-
|[packages] or in any package section||retry||n||Instruct the package installer to retry ''n'' times when installing a package (any package if the directive is set at [package] level). This allows floppy swap.
|}
= Common Cases =
The main advantage of booting from floppy is that you should be able to use the ready-made images!
== Standard floppy ==
The easiest case, the ''standard'' floppy (SA-400 interface).
You will have the following in your [[Bubble configuration file]]:
[image]
type = syslinux
syslinux_module.list = msdos
syslinux_module.list = floppy
syslinux_device = /dev/fd0
Pre-build image is available in the BubbleImage:core-images/floppy directory.
== USB floppy ==
Linux is supporting USB floppy through the sd SCSI driver.
You will have the following in your [[Bubble configuration file]]:
[image]
type = syslinux
syslinux_module.list = msdos
syslinux_module.list = sd_mod
syslinux_module.list = usb-storage
syslinux_module.list = usb-uhci # or usb-ohci
syslinux_device = /dev/sda
Pre-build image is available in the BubbleImage:core-images/floppy-usb-uhci or BubbleImage:core-images/floppy-usb-ohci directory.
== Compact Flash Card ==
<!> This has not been tested yet
The Compact Flash device is access through an IDE adpter, therefore Bubble just see it as an IDE hard disk.
You will have the following in your [[Bubble configuration file]]:
[image]
type = syslinux
syslinux_module.list = msdos
syslinux_module.list = ide-disk
syslinux_device = /dev/hda
Pre-build image is not yet available...
= How to make a Bootable Floppy =
You will need a system running Linux or DOS, and have [http://syslinux.zytor.com/faq.php SysLinux] installed on it.
Here is an example on how make a bootable floppy under Linux
# fdformat /dev/fd0 # Low level format
# mformat a: # Build ms-dos filesystem
# syslinux /dev/fd0 # Make floppy bootable using syslinux
# mount -t msdos /dev/fd0 /mnt # Mount the filesystem
# cp bubble.cfg bubble.syslinux/* packages/keybbe.tbz packages/wtools.tbz ... /mnt
# # Copy all files to floppy
# umount /mnt
Or under MS-DOS:
c:> format a:
c:> syslinux a:
c:> copy .... a:
(!) A 1.44MB floppy should be sufficient for the main Bubble packages (ssh is just too big!). Should you run out of space, it is very easy to format a floppy with 21 sectors and 83 tracks, giving a total of 1743KB on a 1.44MB floppy. However your hardware need to be able to boot from such a floppy (It is not a problem at all on my old Pentium, but USB floppy drive will not support this).
<br />On Linux, just use /dev/fd0h1743 instead of /dev/fd0 in the example above. For the DOS/Wintel world, I found a couple of ''sharewares'' to do the job, and also some free utilities
* [http://toastytech.com/files/nformat.html NFormat]
* FDFormat 1.8 from Christoph. H. Hochstätter (No official pages, but widely available on the web)
[[Category:Bubble]]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
[http://www.3wcasinos.com/roulette-tips/index.html roulette tips]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.magical-casino.com/security.html Casinos security online.]
[http://www.magical-casino.com/choosing_casino.html Online Casino - Choosing the best casinos.]
[http://www.casino-theory.com/online-casino-bonus/index.html online casino bonus]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.casino-theory.com/online-casino-royale/play-free-online-casino.html play free online casino]
[http://www.slots-wiki.com/index.php/slots slots]
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
Opération Panik
0
1301
1401
1314
2006-11-19T12:12:56Z
Fraseyboy
2
wikitext
text/x-wiki
= Operation Panik =
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Les informations relative a ce projet sont centralisées dans ce wiki.
= Index =
* [[Matériel Panik]]: matériel utilisé
* [[Logiciel Panik]]: configuration logicielle des systèmes
* [[Tests Panik]]: notes sur les tests effectués
* [[Installation Panik]]: notes relatives a l'installation sur site
* [[Déploiement Panik]]: Mise en production
= Etat d'avancement =
* Environnement défini
* Noyeau compilé
* Josaphat terminé
* Panik terminé
= A faire =
* Investiguer le bug ''ogg123'' (voire [[Logiciel Panik]] -- Faible priorité)
* Mettre la configuration en production
[[Category:Opération Panik]]
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
[http://www.casino-theory.com/online-casino-royale/online-casino-gamble.html online casino gamble]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.casino-theory.com/bingo-online/gambling-online-bingo.html gambling online bingo]
[http://www.gambling-online-theory.com/casinos/fun-casinos.html fun casinos]
[http://www.casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://www.gambling-online-theory.com/casinos/casinos-strategy.html casinos strategy]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.casinos-new.com/poker.html Online casino - Poker in casino]
Category:Gestion RéseauCitoyen
14
1312
1402
1324
2006-11-19T12:24:27Z
Fraseyboy
2
wikitext
text/x-wiki
Journaux d'interventions de noeuds [http://www.reseaucitoyen.be RéseauCitoyen]
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
[http://www.slots-wiki.com/index.php/slots slots]
[http://www.web-craps.com craps]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
[http://www.casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.casino-games-wiki.com/index.php/play_casino_games play casino games]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
Category:Bering-uClibc
14
1325
1403
1364
2006-11-19T13:27:02Z
Fraseyboy
2
wikitext
text/x-wiki
Using Bering-uClibc for [http://www.reseaucitoyen.be RéseauCitoyen]
[http://www.magical-casino.com/casino_rules.html Casino rules.]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
[http://www.slots-wiki.com/index.php/slots_tips slots tips]
[http://www.casino-theory.com/online-casino-royale/play-free-online-casino.html play free online casino]
[http://www.gambling-online-theory.com/casinos/strategy-casinos.html strategy casinos]
[http://www.magical-casino.com/casino_rules.html Casino rules.]
[http://www.magical-casino.com/casino_games.html Casino games.]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
Tests Panik
0
1307
1404
1316
2006-11-19T14:00:54Z
Fraseyboy
2
wikitext
text/x-wiki
Cette page reprend le schéma général des tests. Les problèmes/solutions sont décrits dans [[Matériel Panik]] et [[Logiciel Panik]]
= Semaine du 13 Septembre 2004 =
Tests hardware
= Semaine du 20 Septembre 2004 =
Test de streaming 24h/24h
Test de tous les systèmes dans leur configuration finale ''en labo''
= Semaine du 27 Septembre 2004 =
Tests de stabilité:
* tous les système sont en ''configuration réelle'': sans clavier / écran / ...
* déplacement du matériel pour
** Dégrader la qualité du signal Wifi
** Générer du routage AODV
** Diminuer le niveau sonore du labo (qui est mon lieu de travail) <br /> <br />La configuration physique est maintenant:
** Panik: garage (niveau 0)
** Perturbation: AP et client sur le canal 6 (niveau 1)
** Josaphat: niveau 2
** wrt-ivan (en mode RC:ReseauCitoyen): niveau 3
** [[RC:NoeudBulles]]: sur le toit
** Perturbation: 1 AP dans la rue (non identifié mais suffisemment proche pour avoir un bon signal)
[[Category:Opération Panik]]
[http://www.casino-games-wiki.com/index.php/play_casino_games_games_online play casino games games online]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
[http://www.online-casino-wiki.com/index.php/online_casino_tips online casino tips]
[http://www.magical-casino.com/casino_games.html Casino games.]
[http://www.fortune-slots.com/ slots]
[http://www.gambling-online-theory.com/casinos/fun-casinos.html fun casinos]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
Logiciel Panik
0
1306
1405
1315
2006-11-19T14:48:07Z
Fraseyboy
2
wikitext
text/x-wiki
= Base =
La base installée est une [http://www.debian.org Debian] Sarge
= Packages installés =
En plus de l'installation de base de Sarge, les packages suivants sont installés:
<br />Pour faciliter la maintenance, on vise une installation '''minimale'''...
== Installation typique d'un noeud ==
* Système
** bzip2
** (gawk)
** less
** iptraf
** modconf
** nmap
** tcpdump
** traceroute
** ssh
* Wifi
** kismet n'est pas installé car les dépendances sont trop nombreuses ( @) il semble que dans Sarge kismet dépende de X)
** iperf
** wavemon
** wireless-tools
* NTP
** ntp
** ntp-server
** ntp-simple
** ntpdate
* Divers
** links
== Besoins particuliers ==
Les paquets suivants ne sont installés que si nécessaire:
* Supervision de processus
** daemontools
** svtools
* Audio
** aumix
** cdtool
** sox
** vorbis-tools
* Portables Toshiba
** toshset (permet d'activer le ventilateur, etc, ....)
= Noyeau =
Nous utiliserons un noyeau 2.4.27 qui est actuellement la dernière version stable de la série 2.4.
Particularités:
* Compilé pour une architecture i386 de manière a tourner su n'importe quel hardware
* Patches Debian
* Patch Orinoco pour le support du mode moniteur (kismet)
* Drivers [http://hostap.epitest.fi/ HostAP] 0.2.4
* Utilisation des drivers PCMCIA du noyeau
= AODV =
On utilise RC:AodvUu dans sa dernière version: 0.8.1
Le démarrage d'AODV se fait via les scripts ifupdown (voir RC:InstallerAodvUu / Binaires pour Debian)
= Streaming =
Nous avons donc 3 machines en jeu:
* '''Studio''' qui fournit le stream
* '''Panik''' ne sert que de passerelle entre le RC:ReseauCitoyen et '''Studio'''
* '''Josaphat''' machine client
La suite logicielle utilisée est [http://www.icecast.org/ices.php Ices 2] / [http://www.icecast.org IceCast] / [http://www.vorbis.com OggVorbis]
= Configuration des Systèmes =
== Généralités ==
Le fichier RC:FichierHostsPointsBleus est utilisé
<br />Les requetes DNS sont désactivées dans ''/etc/nsswitch.conf'' afin d'éviter des requètes DNS non désirées.
== Studio ==
=== Configuration ===
Pour réaliser les tests, j'ai configuré une machine en serveur [http://www.icecast.org IceCast]:
* [http://www.icecast.org/ices.php Ices 2] lit l'entrée ligne de la carte son, fait le rééchantillonage, l'encodage OGG et fournit l'entrée à [http://www.icecast.org IceCast]
* [http://www.icecast.org IceCast 2.0.1] diffuse le stream
On utilise aumix pour sélectionner la source et régler le volume. Points importants:
* La source à diffuser est celle qui est marquée comme 'R' (Record) dans aumix
* La seule façon de régler le volume pour [http://www.icecast.org/ices.php Ices] est le curseur ''IGain''. Les autre curseur n'influencent que la sortie son 'locale'. <br />Le son au départ était trop fort, il a fallu diminuer pour éviter de saturer (curseur ''IGain'' sur 50/60%)
L'encodage [http://www.icecast.org/ices.php Ices] prend environ 6% du cpu du serveur (AMD 1GHz), l'impact de [http://www.icecast.org IceCast] est négligeable.
<br />Par contre sur un Pentium 133MHz, [http://www.icecast.org/ices.php Ices] utilises 60 à 70% des resources!
La machine utilise Panik comme gateway vers le RC:ReseauCitoyen:
route add -net 10.0.0.0/8 gw 192.<panik>
=== Maintenance ===
Pas de maintenance particulière -- s'assurer que la route vers le RC:ReseauCitoyen est toujours définie. Le plus simple est de l'ajouter dans ''/etc/network/interfaces''; par exemple:
auto eth0
iface eth0 inet dhcp
up route add -net 10.0.0.0/8 gw 192.<panik>
== Panik ==
=== Configuration ===
La configuration du noeud est assez simple. Le seul point particulier est la configuration de la passerelle vers ''Studio''.
<br />Comme on ne peux pas faire ''simplement'' une passerelle avec RC:AodvUu, Panik fait du DNAT pour donner acces au stream:
iptables -t nat -I PREROUTING -i wlan0 -s 10.<josaphat> -p tcp --dport 8000 -j DNAT --to 192.<studio>:8000
et Masquerade le sous-réseau privé:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o wlan0 -j SNAT --to 10.<panik>
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.128).
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.154.69.107)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
== Josaphat ==
=== Configuration ===
On utilise le décodeur ogg123 de [http://www.vorbis.com OggVorbis] pour la lecture du stream (voir ci-dessous pour les détails).
<br />L'adresse du serveur est celle de ''Panik'' qui relaie vers ''Studio''
ogg123 -v http://10.<Panik>:8000/ReseauCitoyen.ogg
Le niveau sonore est ici aussi ajusté via aumix. c'est l'entrée ''PCM'' qu'il faut ici ajuster.
Le délais entre l'émission et la réception est d'environ 10 secondes.
<br />Même avec un bit rate relativement faible (qualité 0, débit d'environ 35 kbps, en mono) la qualité du son est impecable.
Ogg123 utilise environ 5% du CPU de la machine (Pentium 200 MHz)
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.129) -- Non utilisé.
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.8.39.138)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
Pour s'assurer que ogg123 tourne en permanence, il est supervisé par les [http://cr.yp.to/daemontools.html DaemonTools] et est rédémaré en cas de problème.
<br />Quelques pointeurs utiles:
* La ligne de commande exacte pour démarrer ogg123 se trouve dans le fichier ''/etc/sv/Stream Panik/run''. <br />Pour des raisons pratiques ce script ne contient que l'appel de ''/usr/local/sbin/stream-panik''. Ce dernier devra être adapté:
** en fonction de la fréquence de l'échantillonage de la source [http://www.icecast.org/ices.php Ices2] (initialement configuré pour 22050 Hz);
** si l'adresse de ''Panik'' change
* Le service est redémarré tous les jours à 3:30 du matin, de manière à ''rafraichir'' ogg123. Cela est configuré dans le ''cron'', fichier: ''/etc/cron.d/stream-panik''
* Arrêt / Démarrage / Re-demarage: <br />''/etc/init.d/stream-panik {start|stop|restart}''
* Activation / Désactivation (lorsque le service est ''désactivé'', il n'est plus démarré au boot, ni redémarré la nuit. Si on ne se sert pas du streaming, il faut le désactiver sinon il va tenter de le démarrer indéfiniment): <br />''/etc/init.d/stream-panik {enable|disable}''
* Voire les logs: <br />''mltail Stream Panik''
/!\ '''En cas de problème de streaming''': pour le redemarrer il faut:
* Soit ''tuer'' le client dans [http://www.icecast.org IceCast], le stream sera redémarré automatiquement
* Soit executer la commande suivant sur ''josaphat'': <br />''/etc/init.d/stream-panik restart''
= Problèmes rencontrés et Solutions =
== Décalage dans le stream ==
Après environ 12 heures de streaming, les buffers (Input et Output) de ogg123 se sont retrouvés proches de 0%, avec pour conséquence de légères coupures dans la restransmition. <br />Si le problème se résoud facilement par un re-démarrage de ogg123, cela pose un problème pour une utilisation 24h/24h.
'''D'où vient le problème?''' Ce n'est pas un problème de bande passante, la demande su stream est faible. Pour s'en convaincre, on peux réduire la vitesse du lien (`iwconfig rate 2M`) et démarrer un second ogg123 sans affecter la performance.
Une interprétation est que Josaphat joue légèrement plus vite que Studio ne produit: en effet, Josaphat ne peut lire plus vite que ce qui est disponible et au fil des heures on voit le buffer d'entée diminuer; lorsque le buffer d'entrée atteint 0, la vitesse de conversion ogg diminue puisque le convertisseur doit attendre des données; on voit alors le buffer de sortie qui n'est plus approvisionné au même rythme qu'il est vidé et il commence lui aussi à se vider. Lorsque les 2 buffers sont vides il n'y a plus rien à diffuser et donc on a des microcoupures dans le son...
<br />Une autre interprétation est qu'un décalage est introduit par Studio lors du re-sampling entre l'entrée et la sortie dans [http://www.icecast.org/ices.php Ices2] (48k vers 24K ici). Si la carte son n'est pas '''exactement''' sur 48k, on va générer un décalage.
<br />Dans notre cas, la première option est à priviligier -- le décalage étant pratiquement inexistant avec ogg123 tournat sur un autre PC.
Pour être complet, cela n'a pas l'air d'être lié à l'horloge du PC: j'ai synchronisé les 2 machines avec [http://www.ntp.org/ NTP] et cela ne change rien.
'''Comment y remédier?''' Je présume qu'il est pratiquement impossible d'avoir des systèmes parfaitements synchronisés. On pourrait envisager une amélioration de ogg123 qui dans ce cas de figure ''recharge'' ses buffers plutôt que de continuer à travailler à la limite. Sans toucher au software on peut:
* Augmenter la taille des buffers. <br />Cela ne fait que de reporter le problème et augmente légèrement le décalage du stream, mais c'est toujours ça de gagné!
* Augmenter le ''pre-buffering'' de manière a mieux utiliser le buffer d'input. <br />''Attention toutefois à ne pas avoir le phénomène inverse au cas où, en changeant de hardware, le lecteur serait plus lent...''
* Redémarrer ogg123 toutes les nuits. <br />Avec une interruption de retransmission de quelques secondes. Ce n'est pas l'idéal mais je ne vois pas d'alternative dans l'immédiat.
Concernant la taille des buffers, la lecture des sources nous révèle que:
* La taille par défaut buffer d'entrée est de 64k
* La taille par défaut buffer de sortie est de 128k
* Le ''pre-buffering'' par défaut est de 50%
Comme nous ne sommes pas trop limités en mémoire sur Josaphat, j'ai effectué un test avec 256k pour l'entrée, 512k pour la sortie avec un ''pre-buffering'' de 75% (comme le buffer d'entrée remplit en une fois le buffer de sortie, il se vide de 25% pratiquement en une fois et se stabilise aux alentours de 50-55%).
<br />Ce test de 24 heures confirme les premières observation: avec le hardware utilisé, le lecteur (Josaphat) lit une seconde plus vite par heure que le serveur de stream (Studio), donc de manière régulière: 12 secondes après 12 heures et 24 en 24 heures. Le buffer d'entrée lui a perdu 30-35% de sa capacité, soit 80-90 kB, ce qui est consistant avec le débit: 24 s à 30 kbps = 90 kB.
<br />Donc un buffer d'entrée de 256k rempli à 50% au départ permet sans problème une déviation de +/- une seconde par heure sur 24 heures.
<br />La grande taille du buffer de sortie n'apporte rien ici, si ce n'est un décalage excessif entre le direct et la diffusion (47 secondes au départ avec les paramètres ci-dessus).
<br />Les parametres recommandés pour ce bit rate sont donc:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 128 \
--device oss \
http://10.51.110.172:8000/ReseauCitoyen.ogg
Pour gérer tout cela, pas la peine de réinventer l'eau chaude, on utilise les [http://cr.yp.to/daemontools.html DaemonTools] de [http://cr.yp.to/djb.html D.J. Bernstein].
== Corruption du Stream ==
Les tests de longue durée ont révélé une corruption du stream -- probablement un bug dans la gestion des buffers de ogg123...
Après ''un certain temps'', un bruit parasite (un ''toc'') est introduit dans le stream. Le bruit se répète à intervalle régulier (à chaque ''tour'' dans le buffer).
J'ai effectué plusieurs tests, et ce problème est tout a fait reproductible: le stream est ''parfait'' jusqu'à un certain point, et une fois la corruption introduite, elle reste présente at garde le même cycle que la latence du stream (c'est-à-dire de plus en plus fréquent puisque le latence diminue avec la diminution de l'occupation du buffer du au problème précédent.
<br />La corruption se produit après environ 12:30 d'écoute (à affiner)
Ici aussi, une solution possible serait de redémarrer le stream toutes les 12 heures, mais cela implique une interruption en journée.
'''Cause du problème''': Nous avons un streaming à 24 kHz en 16 bits mono (1 canal). Cela nous fait 384 kbps; on atteind donc 2 GB en 12h 25m 39s!
<br />La cause est plus que probablement un dépassement d'entier signé sur 32 bits. Reste à trouver où!
Quelques observation:
* [http://www.xmms.org/ XMMS] n'a pas ce problème -- j'ai ''joué'' plus de 39 heures parfaitement.
* Bien que la grande majorité drivers ''OSS'' comptent les bytes joués dans un ''int'' (''count_info.bytes''), cette information n'est disponible que via un ''ioctl'' que ogg123 n'utilise pas
* Un output via ''aRts'' au lieu de ''OSS'' en direct génère le même problème
* Un output via ''raw | sox'' au lieu de ''OSS'' en direct génère le même problème
(!) Nouveau (27-Sep-04): le by-pass du buffer de sortie de ogg123 semble résoudre le problème:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 0 \
--device raw -f - \
http://10.51.110.172:8000/ReseauCitoyen.ogg |
sox -t raw -r 24000 -w -s - -t ossdsp -r 48000 /dev/dsp
C'est un point important, car cela:
* précise où se situe le problème (ce n'est donc pas un problème de pilote OSS ou de décodage ogg)
* offre un ''workaround''
Le noeud est maintenant configuré de cette façon.
[[Category:Opération Panik]]
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
[http://www.gambling-online-theory.com/online-casino/bet-online-casino.html bet online casino]
[http://www.casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://www.casino-games-wiki.com/index.php/casino_games_game casino games game]
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
[http://www.casinos-new.com/internet-casino.html Online casino - Internet Casinos]
[http://www.3wcasinos.com/roulette-tips/roulette-description.html roulette description]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
[http://www.casinos-go.com/online-casino-tips/online-casino-games.html online casino games]
Bubble development
0
1283
1406
1285
2006-11-19T15:43:15Z
Fraseyboy
2
wikitext
text/x-wiki
This article describes the development architecture and requirements to '''develop''' and '''build''' the [[Bubble]] distribution.
If you are interrested in configuring a [[Bubble]] node, see the [[Bubble install guide]].
= From DiskLess to Bubble =
This section describes the major changes between [[DiskLess]] and [[Bubble]]
High level milestones:
* [[DiskLess]]: The initial Version
* [[Bubble]] v1.99: Intermediate version -- never released
* [[Bubble]] v2.x: Current version in development
== Configuration ==
* The [[Bubble configuration file]] used to have both build and runtime parameters. Now we have:
** Build parameters included in the [[BuildRoot]] configuration
** Runtime parameters associated with their respective packages. <br />Each package has its own configuration template. A [[Bubble configuration file]] is the concatenation of all (filled) templates.
** We have also added more informational fields, like version, dependencies, ...
* The current [[Bubble configuration file]] is in '.ini' format. <br />We had a debate for wether or not introduce XML. It has been decided to stick to the .ini format for the time being:
** The XML format does not bring additional functionalities and we already do have a .ini parser.
** Since the parsing is isolated in the code anyway, we can change at a later time without impacting the project
* Project: Rebuild a Web based configuration tool (We used to have one in [[DiskLess]])
* Project: Command line configuration tool -- possibly available on the target node.
* Project: Auto-configuration tool (a generic bootable CD that would build [[Bubble configuration file]] suitable for the machine)
== Build architecture ==
Upgraded to the new [http://buildroot.uclibc.org/ uClibc BuildRoot] (major architecture change!)
High level overview:
* Core packages are built and installed in the ''root'' image (no changes from 1.99)
* Non-core packages are built and installed in separate package files using additional target in the makefile (less destructive)
* For the ''bubble'' makefile target, instead of building a node image, now we:
** Just generate the ''root FS'';
** Save [[BuildRoot]] environement in a file;
** The final ''packaging'' is done by script, in a separate area leaving the ''root'' directory untouched.<br />This way, we can easily generate standard images, and build special ones on the fly.
** Driver packages are built by a script as well and no more at built-time as before.
== Runtime architecture ==
* No change foreseen
== Functionnalities ==
* No change foreseen
* Test on [http://soekris.com/ Soekris] and [http://pcengines.ch/wrap.htm WRAP]
= Requirements =
[[Bubble]] is developped in a [http://www.debian.org/releases/sarge/ Debian Sarge] environment, but should build on any Linux platform.
The packages used are:
* Development Packages
** base system -- Gnu-Linux system with the ''standard'' utilities installed<br />Not detailed here...
** gcc
** make
** autoconf
** flex
** bison
** perl
** libncurses5-dev -- To configure buildroot
** wget -- To get the sources
** fakeroot -- To generate the packages
** cvs -- If you just want to build, you do not need CVS, just grep a tarball of the distribution!
* Build time (to build the images)
** syslinux -- [http://syslinux.zytor.com/faq.php SysLinux] is used to package the images
** mkisofs -- To build [http://syslinux.zytor.com/iso.php ISOLinux] images
** mknbi -- To tag [http://www.etherboot.org/ Etherboot] images
* Web Deployment -- For the web user interface (Not available yet)
** apache
** php4
** php4-curl
* Runtime -- To run the NetworkBoot images
** dhcp3-server -- The DHCP server
** tftpd-hpa -- TFTP server compliant with PXE
= Core System =
The core system (kernel/initrd/boot scripts) is developed with the BusyBox/uClibc BuildRoot.
(Essentially using what has been done for DiskLess)
= Packages =
Obviously we want to build the packages using the same environment, but they should not be installed into the same 'root' directory
BubblePackage describes the packages structure
= Directory structure =
In the development environment the directory structure for DiskLess looks like this:
${BULLES_HOME}/ Contains all the development environment (around 1GB)
bin/ Utility scripts
buildroot/ The uClibc buildroot
The filesystem layout from uClibc is preserved
patches/ Patches for the buildroot (Changes from the original uClibc buildroot)
The directory contain one file per file to be patched (<filename>.patch)
(We need to review this: there is conflict if we need to patch 2 files
having the same name -- e.g. 2 Makefile)
add-ons/ Add-ons for the buildroot (Additional files for the uClibc buildroot)
The directory structure under add-ons is identical to the buildroot one.
sources/ All the sources dowloaded for the buildroot (used as 'cache')
rc_web/ PHP User interface to generate custom core packages
The entire <tt>${BULLES_HOME}</tt> is under CVS, but obviously <tt>buildroot</tt> and <tt>sources</tt> are ignored.
This is working OK, but the use of scripts to maintain the CVS is not error-prone...
Therefore, in Bubble, we import the uClibc [[BuildRoot]] as a third party (See the [http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_System_v1.12.12.1:_Tracking_third-party_sources -- Chap. 13]).
Advantages:
* The revision management is now very simple (or at least it should be)
* Bubble is more stable (changes to the pristine [[BuildRoot]] are imported in a controlled way)
Areas of attention:
* More files in the CVS (But this is not huge)
* The merge of new versions of the [[BuildRoot]] need to be done with care
The Bubble directory structure is now simplified:
${BUBBLE_HOME}/ Contains all the development environment (around 1GB)
bin/ Utility scripts
(Not imported yet)
buildroot/ The uClibc buildroot
The filesystem layout from uClibc is preserved
www/ PHP User interface to generate custom core packages
The entire <tt>${BUBBLE_HOME}</tt> is under CVS, including the [[BuildRoot]] (See the [[BuildRoot]] page for the directory layout).
= Utility scripts =
With the new CVS approach, all the [[DiskLess]] scripts are now obsolete!
'''To do''': Describe the new utilities
= CVS =
[http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble/ Browse the CVS]!
The path in the CVS is <tt>ReseauCitoyen/Bubble</tt>
<br />Module name: <tt>bubble</tt> (or <tt>Bubble</tt>)
[[Category:Bubble]]
[http://www.casinos-new.com/blackjack.html Online casino - Blackjack online]
[http://www.magical-casino.com/casino_rules.html Casino rules.]
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
[http://www.gambling-online-theory.com/online-casino/bet-online-casino.html bet online casino]
[http://www.bestweb-online-casinos.com/best-online-casino/online-casino-free-game.html online casino free game]
[http://www.casino-theory.com/online-casino-royale/play-free-online-casino.html play free online casino]
[http://www.casino-games-wiki.com/index.php/play_casino_games_games_online play casino games games online]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.magical-casino.com/casino_rules.html Casino rules.]
Rg Flash
0
1297
1407
1388
2006-11-19T16:21:26Z
Fraseyboy
2
wikitext
text/x-wiki
[[Category:RC-1000]]
= Introduction =
[http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann] has made a very good work to allow to run [http://www.etherboot.org Etherboot] from the RG-1000.
The nice thing is that the code is prepended to the original firmware, and Till's ''initial loader'' allows you to choose between [http://www.etherboot.org Etherboot] and the original firmware.
Although Till's work could be used ''as is'', I have ported the changes to [http://www.etherboot.org Etherboot] 5.2.3 (from 5.0.0), and dropped the features I was not using (mainly the possibility to [http://www.etherboot.org Etherboot] wireless).
http://www.plasma-online.de/index.html?content=http%3A//www.plasma-online.de/english/upgrade/tweak/fixes/fix_apple_airport.html
= Initial Loader =
No particular issue here, I just made minor modifications:
* Makefile and directory structure changed.
*** We try do download the !KarlBridge firmware directly from Internet
*** Directory layout changed (''bin'' and ''firmware'' are ignored by CVS, which makes things easier)
* The loader accept lowercase characters (I was tired to press the ''shift'' key)
* The NVRAM data is not extracted anymore at this place -- we are not using it anyway
= Etherboot =
The porting to [http://www.etherboot.org Etherboot] 5.2 has been a major headache...
<br />The RG-1000 crashed at the very beginning. It took me at least a week to understand where it crashed (enabling interrupts in real mode), and more than a week to try to fix it until I realized that Till's original version did not work either under the same circumstances!
/!\ '''After flashing the firmware, the RG-1000 must be powered off!'''
The original !KarlBridge firmware does not seem to have a problem with that, but [http://www.etherboot.org Etherboot] will definitely not run after a firmware upgrade until the RG-1000 is powered off.
<br />I should have know, it is stated in Till's pages...
The main changes to the ''stock'' [http://www.etherboot.org Etherboot] are:
* Configuration files
* Patches to the Lance network driver
[http://www.etherboot.org Etherboot] 5.2 is running 'as good as' 5.0 -- what I mean by that is not always initialized properly after a cold boot; but works after a reset.
<br />This needs further investigations.
Compared to the original changes made by [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till], I have dropped significant part of his code:
* Support for booting from the wireless device. <br />Although it looks attractive, we would need to have anyway another node in the area which accepts non-AODV requests. This can be a nice-to-have, but out-of-scope at this time...
* Checksum on packet received. <br />This is mainly useful when you boot wireless.
* Handling of the NVRAM data (not) saved by the loader
[[Anchor(Flash)]]
= Flashing the RG-1000 =
You need:
* A client tool to upload the new firmware. <br />I am using the java-based [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] (GPL). <br />All the screenshots from this page are based on this tool. <br /> /!\ If the home page of the ''RG-1000 Configurator'' is not accessible, you can download it from [http://reseaucitoyen.be/diskless/rc1000/ here].
* The new firmware, which is a bundle: ''Initial Loader''/[http://www.etherboot.org Etherboot]/!KarlBridge <br />It is included in the ''RC-1000'' [http://reseaucitoyen.be/diskless/rc1000/ distribution package].
Several cases are possible, depending on the initial state of your RG-1000.
== Original Orinoco Firmware ==
I have no clue on what the original firmware is, I never tried it!
If the hardware of the RG-1000 is the same as the Apple Airport, it does not seem that they are using the same firmware.
As far as I know, the only way to flash the RG-1000 with a custom firmware is to use the [[#ForcedReload forced reload]] procedure as described hereunder.
As illustrated here, you can use the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] to ''talk'' to the RG-1000, '''but you will not be able to flash it''': the flash procedure works, but at the end, you still have the original firmware. It looks like it does not want to flash a non-Orinoco firmware...
# Start the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] <br />http://reseaucitoyen.be/albums/rg1000/aau.png
# Select ''Discover Devices'' (I have a DHCP server in my network) <br />http://reseaucitoyen.be/albums/rg1000/aav.png <br />Note the 6 hex digits numbers at the end of the ''Device Name'' line (059c62 here): this is the ''Id'' of your RG-1000. It is also printed out on the labels that are under and behind the device. It is actually the initial '''password''' (Community Name) and by the way the last 3 bytes of the mac address of the wireless card (the ones we are using to set the IP :-? ). <br />Thanks to [[RC/PhilippeTeuwen|PhilT]] for this information.
# On the main page you can then enter the IP and password you ''discovered'' and ''retrieve configuration''<br />http://reseaucitoyen.be/albums/rg1000/aaw.png
# That's it! as said above, you will not be able to flash the RG-1000 from here, so it is it is time to say goodbye to the original firmware and proceed to the next section: the [[#ForcedReload forced reload]] procedure
[[Anchor(ForcedReload)]]
== Forced Reload Procedure ==
You will have to use this procedure if for whatever reason your firmware is dead (uploaded bad firmware) or if you have the original Orinoco firmware on your RG-1000.
# Power off your RG-1000
# Press the ''Force Reload'' button '''and keep it pressed'''<br />http://reseaucitoyen.be/albums/rg1000/aag.sized.jpg
# Power the device on
# Wait until the ''Power'' LED turns orange, all others off
# Release the the ''Force Reload'' button
# Start the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] <br />http://reseaucitoyen.be/albums/rg1000/aau.png
# Select ''Discover Devices'' <br />http://reseaucitoyen.be/albums/rg1000/aba.png <br />Note that the output is not the same as before (a.o. DHCP is not used).
# To be able to upload the new firmware, you will have to be in the '''same subnet'''!<br />At this time, reconfigure your interface. On Linux, you can do that very easily by adding a ''virtual'' interface:<br />
# ifconfig eth0:1 153.69.254.1 up
# Enter the IP address of the RG-1000 (153.69.254.254) and the password (use '''public''') in the configurator
# From the ''File'' menu, select ''Upload new base station firmware'' <br />http://reseaucitoyen.be/albums/rg1000/abb.png
# Select the new firmware <br />http://reseaucitoyen.be/albums/rg1000/abc.png
# Select Upload firmware with default settings <br />http://reseaucitoyen.be/albums/rg1000/abd.png
# The RG-1000 will reboot <br />http://reseaucitoyen.be/albums/rg1000/abe.png
# At this stage, do not forget to '''power-off''' the device or the customized firmware will not work (crash in [http://www.etherboot.org Etherboot])
/!\ Note that by default, the RC-1000 customized firmware boots by default with [http://www.etherboot.org Etherboot] and does '''not''' load !KarlBridge. If you still want to load !KarlBridge, you have to disconnect the network cable at boot time.
== KarlBridge Firmware ==
Once you have the !KarlBridge firmware running (either the pristine !KarlBridge or the RC-1000 customized) you can very easily flash new firmwares -- just use the java-based [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] without any special trick.
<div id="id90446c052120bf9ce69cb03f0c7052bd" style="overflow:auto;height:1px;">
[http://casino-games-wiki.com/index.php/casino_games casino games]
[http://casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://adipex-wiki.com/index.php/adipex adipex]
[http://adipex-wiki.com/index.php/buy_adipex buy adipex]
[http://adipex-wiki.com/index.php/adipex_online adipex online]
[http://tramadol-wiki.com/index.php/tramadol tramadol]
[http://tramadol-wiki.com/index.php/cheap_tramadol cheap tramadol]</div>
[http://www.slots-wiki.com/index.php/slots_online slots online]
[http://www.slots-wiki.com/index.php/slots_online_bonus slots online bonus]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.fortune-slots.com/ slots]
[http://www.casinos-go.com/online-casino-tips/index.html online casino tips]
[http://www.casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://www.gambling-online-theory.com/casinos-portal/free-casinos-on-line.html free casinos on line]
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
[http://www.casino-games-wiki.com/index.php/play_casino_games_games_online play casino games games online]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
Gestion Josaphat
0
1313
1408
1325
2006-11-19T17:44:09Z
Fraseyboy
2
wikitext
text/x-wiki
= A faire =
* ....
* ....
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
[http://www.casino-games-wiki.com/index.php/play_casino_games_games_online play casino games games online]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.magical-casino.com/casino_rules.html Casino rules.]
[http://www.gambling-online-theory.com/casinos-portal/best-casinos-online.html best casinos online]
[http://www.casinos-go.com/online-casino-tips/free-online-casino-slot.html free online casino slot]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.magical-casino.com/security.html Casinos security online.]
[http://www.3wcasinos.com/roulette-tips/roulette-description.html roulette description]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
RC-1000
0
1295
1409
1300
2006-11-19T19:01:43Z
Fraseyboy
2
wikitext
text/x-wiki
= RC-1000: ReseauCitoyen on RG-1000 =
Attempt to run a RC node on a RG-1000 AP.
= Plan =
Use my favorite [[BuildRoot]] to have a core linux running and expand from there
= Roadmap =
* Setup CVS ([http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/RC-1000/ View])
* Retrofit essential [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann]'s patches into 2.4 kernel
* Refine base environment
* Get wireless running
* Get AODV running
= To Do =
* All done!<br />Add you wishes here...
= Notes =
# [[Rg Flash]]: Flash you RG-1000 to allow Network Boot (via [http://www.etherboot.org Etherboot])
# [[Rg Kernel]]: Linux kernel patches for RG-1000 Support
# [[Rg Install]]: How to run the RC-1000 project on you RG-1000
# [[Question fréquentes]]
= Links =
* http://www.seattlewireless.net/index.cgi/OrinocoRg1000
* http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html
* http://www.amd.com/epd/processors/4.32bitcont/13.lan4xxfam/22.lansc400/
= LogBook =
* 31-Oct-04
** Distribution completely re-packaged based on IPKG
** Includes new packages (kismet, dropbear)
* 09-Oct-04
** Integrated experimental iptables based AODV
** CVS updated and package released <br />Note that the AODV hack is for the time being out of the RC-1000 CVS tree, but available in a separate [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/aodv-uu-ipt project tree]
* 20-Aug-04
** Upgrade AODV-UU to 0.8.1; added start/stop script
** Upgrade Unik-OLSR to 0.4.5; standard config file; no start/stop script
** CVS updated and package released
* 19-Aug-04
** Added [http://hostap.epitest.fi/ HostAP] 0.2.4 support
** Channel changed to '1'
** Set the clock at boot time
** CVS Updated for the above changes
** Package not released (need to update AODV / OLSR)
* 19-Apr-04
** Experimental: NFS Swap
** Experimental: OLSR (From http://olsr.org/ )
** Package released, but CVS not updated (need to take time to document and cleanup)
* 27-Mar-04
** AODV-UU 0.8 compiled. It runs, but not further tests done
** Package released, but CVS not updated
* 26-Mar-04
** Added ''login'' and ''password'', CVS updated and new package released...
* 25-Mar-04
** Added iptables, tiny http
** Minor fixes
** Commit all changes in CVS
** New package released
* 21-Mar-04:
** Cleanup Wiki
** Commit wtools in CVS
* 20-Mar-04:
** Workaround Lance problems by using shorts timeouts in [http://www.etherboot.org Etherboot]
** Major cleanup -- commit all in CVS
** Rebuild from scratch for testing purpose -- Everything looks good.
* 07-Mar-04:
** Linux kernel 2.4 runs now -- fixed problem in idle loop
** LEDs are working
** Orinoco drivers running as well!
* 15-Feb-04:
** [http://www.etherboot.org Etherboot] 5.2 eventually works (as long as we cold boot after a re-flash!)
* 25-Jan-04:
** Create this page
** Gather documentation
[[Category:RC-1000]]
[http://www.magical-casino.com/security.html Casinos security online.]
[http://www.gambling-online-theory.com/casinos-portal/free-casinos-on-line.html free casinos on line]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.casino-web-gambling.com/blackjack-tips/blackjack-hints.html blackjack hints]
[http://www.casinos-go.com/online-casino-tips/index.html online casino tips]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.online-casino-wiki.com/index.php/online_casino_tips online casino tips]
[http://www.casinos-go.com/online-casino-tips/online-casino-games.html online casino games]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.casino-games-wiki.com/index.php/casino_games_game casino games game]
Bubble
0
1279
1410
1289
2006-11-19T22:52:35Z
Fraseyboy
2
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Table of contents =
* [[DiskLess]]: the version 1 of Bubble!
* [[Bubble overview]] / [[:RC:DistributionBubble]]: a general overview (motivation, big picture)
* [[Install guide]]: How to install a Bubble node
* [[Bubble development]]: information about development environment (requirements, directory structure, utility scripts, ...)
* [[Bubble runtime architecture]]: description of the Bubble runtime architecture
* [[Routing and firewall]]: information about the routing and firewalling on the node
= Milestones =
Sep-05:
<br />After a long quiet period, the development has restarted!
* Updated [[BuilRoot]] (some small changes again in the architecture)
* Setup Q-Emu for testing releases
* New OLSR package
* Floppy and Etherboot images have been successfully tested
* Utility scripts made to generate images based on ''meta-description''
Dec-04:
* New version of Bubble in the make!
* v1.99 archived in the CVS
* New buildroot imported
* Wiki pages under revision
26-Oct-03:
* Dropbear is available -- it is now possible to have a ssh server on a single floppy distribution!
05-Oct-03:
* PCMCIA is now available
* Node [http://bulles.no-ip.org/ReseauCitoyen/node_status.php Bulles] is now running Bubble v1.99-cvs (migrated from DiskLess)
28-Sep-03:
* Bubble has now all the features of DiskLess (except PCMCIA). Obviously some testing needs to be done.
21-Sep-03:
* The package framework is now fully implemented (See BubblePackage)
* The first packages are released (Belgian keyboard ;) and Wireless Tools)
14-Sep-03:
* Not too much visible progress, but we can load and parse the ConfigFile from the boot device
07-Sep-03:
* We have a running ''core'' system!
31-Aug-03:
* CVS module created
* Imported the [http://www.uclibc.org/ uClibc buildroot] CVS into the new Bubble CVS
cvs import -ko -m "Buildroot 030831" ReseauCitoyen/Bubble/buildroot buildroot buildroot_030831
= To Do =
* Additional packages
** iptables
** ...
* Handling multiple interfaces
* User documentation to build images
* USer Interface to generate images
* User Interface to configure node
* Performance improvement in parsing configuration file <br />The shell based version is rather slow on old systems
* ...
[[Category:Bubble]]
[http://www.gambling-online-theory.com/casinos-portal/free-casinos-on-line.html free casinos on line]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.magical-casino.com/casino_bonus.html Casino Bonus ]
[http://www.web-craps.com craps]
[http://www.casinos-go.com/online-casino-tips/index.html online casino tips]
[http://www.casino-web-gambling.com/blackjack-tips/blackjack-hints.html blackjack hints]
[http://www.slots-wiki.com/index.php/slots_tips slots tips]
[http://www.bestweb-online-casinos.com/slots-game/diamond-club-slots.html diamond club slots]
[http://www.gambling-online-theory.com/casinos-portal/best-casinos-online.html best casinos online]
[http://www.slots-wiki.com/index.php/slots_tips slots tips]
Bubble configuration file
0
1288
1411
1293
2006-11-19T23:27:49Z
Fraseyboy
2
wikitext
text/x-wiki
{{Outdated}}
= Objective =
The runtime configuration file will drive the behaviour of the node.
* Configuration of the core
* List and parameters of the additional modules to load
This page describes the structure of the runtime configuration file.
Constraints
* Can be generated by a user interface.
* Must be easily editable with text editor.<br />Which means human readable (not too complex) and flexible in format.
* Must be easily parsed by the node at run time<br />(Limited tools available in [[BusyBox]])
= Syntax =
We use the well-know ''.ini'' syntax:
[section-name]
parameter = value
...
In addition to that, we add some ''pseudo-parameters'' which are mainly used by the UI:
system.help = text Help text for the section
parameter.system = value Same as 'parameter = value', but shown in the UI
parameter.choices = value|value|... List of value for the parameter
parameter.crypt = value The parameter is encrypted
parameter-1.depends = parameter-2=value Parameter-1 is only used when parameter-2 = value
parameter.list = value The parameter is actually a list
(Every occurrence is a new element)
= Example =
See CVS:buildroot/bubble.cfg.distr for the latest [[Bubble configuration file]] distributed
[system]
help.system = Information specific to the build system
version.help = Configuration file version number (do not change)
version.system = 0
isolinux.help = Where is isolinux.bin located?
isolinux.system = /usr/lib/syslinux/isolinux.bin
[kernel]
help.system = Kernel specifics
append.help = Kernel parameters that need to be passed on boot
append =
module.help = Modules to load at start-up
module.list =
[image]
help.system = Information for the core image build
type.help = Image type
type.choices = etherboot|pxe|iso|syslinux
type = etherboot
net_module.help = Modules needed to get network up
net_module.depend = type=etherboot|pxe
net_module.list = 3c59x
iso_module.help = Modules needed to support the cdrom and iso fs
iso_module.depend = type=iso
iso_module.list = iso9660
iso_module.list = ide-cd
iso_device.help = Device where the cdrom is
iso_device.depend = type=iso
iso_device = /dev/hda0
syslinux_module.help = Modules needed to support the floppy and the FAT
syslinux_module.depend = type=syslinux
syslinux_module.list = msdos
syslinux_module.list = floppy
syslinux_device.help = Device where the floppy/CF card is
syslinux_device.depend = type=syslinux
syslinux_device = /dev/fd0
...
= Reference =
This paragraph describes all the parameters, section by section.
== Build Parameters ==
The parameters in the following sections are impacting the '''build''' of the distribution.
<br />They are available at run-time for information, but do not (should not) impact the behaviour of the distribution.
=== [system] ===
Information specific to the host used to build the distribution.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|version||Number||-||Internal parameter used to track the version of the configuration file. Do not change this value
|-
|isolinux||File||-||Location of the [http://syslinux.zytor.com/iso.php SysLinux] ''isolinux.bin'' file on the build system
|}
=== [kernel] ===
Information related to the Linux kernel
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|append||Text||-||Kernel parameters passed on the command line at boot time.<br />Unless you are using [http://www.etherboot.org/ Etherboot], you can always change this parameter after build in the [http://syslinux.zytor.com/iso.php SysLinux] configuration file which is generated.<br />For [http://www.etherboot.org/ Etherboot]however, you will have to regenerate an image.
|-
|module||List of modules||-||List of modules (with their parameters) that need to be packaged in the image and loaded at startup (one module per line).<br />The system tries to be smart and loads the dependencies automatically.
|}
=== [image] ===
What kind of image do we need?
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|type||etherboot|pxe|iso|syslinux||-||Image type:<br />''etherboot'': [http://www.etherboot.org/ Etherboot] image (See [[Network boot]])<br />''pxe'': [[Network boot]] via [http://syslinux.zytor.com/pxe.php PXELinux] <br />''iso'': to generate a bootable ISO9660 CD-ROM Image (using [http://syslinux.zytor.com/iso.php ISOLinux])<br />''syslinux'': image for [http://syslinux.zytor.com/iso.php SysLinux]. Allow to boot from FAT filesystem (Floppy of Compact Flash cards)
|-
|net_module||List of modules||-||For ''etherboot'' and ''pxe'' images, the module(s) needed to support the card
|-
|iso_module||List of modules||-||For ''iso'', the module(s) needed to support the cd-rom and the ISO9660 filesystem
|-
|iso_device||Device||-||For ''iso'', the device to be used to mount the cd-rom (e.g. /dev/hda1)
|-
|syslinux_module||List of modules||-||For ''syslinux'', the module(s) needed to support the floppy drive and the msdos filesystem
|-
|syslinux_device||Device||-||For ''syslinux'', the device to be used to mount the floppy (e.g. /dev/fd0)
|-
|driver||List of modules||-||List of modules for which a driver package need to be build (See [[Bubble package]])<br /> /!\ PCMCIA drivers should never be started (i.e. ''start = no'' package parameter)
|}
/!\ There is no need to generate another image if your boot device (''iso_device'' or ''syslinux_device'') is not the same as the one in the build, you just have to change it in the [http://syslinux.zytor.com/iso.php SysLinux] configuration file
== Runtime Parameters ==
The following parameters have no effect on the build, they are just used at run-time.
=== [node] ===
General configuration of the node
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|Hostname||Text||bubble||Name for the node
|-
|syslog_ip||IP Address||-||By default, logging is done in a shared memory segment and available on the node via the ''logread'' command (circular buffer). If ''syslog_ip'' is set, '''in addition''' the syslog information will be send at that address.
|-
|root||Encrypted password||-||If set, this will be the root password for the node. Otherwise, all accounts are locked and access is only available from the console
|-
|telnetd||yes|no||no||If set to ''yes'', start the telnetd daemon. Although SSH is the preferred option, due to disk space or memory constraint we may consider ''telnet'' as alternative
|-
|keepinitrd||yes|no||no||If set to ''yes'', do not release the Initial RAM Disk at boot time (debugging only)
|}
=== [wireless] ===
Configuration of the wireless device.
Most of the parameters are set automatically to be compliant to [http://reseaucitoyen.be ReseauCitoyen] -- See [[Bubble overview]].
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|interface||none|eth0|eth1|wlan0|...||none||Interface used by the wireless card (or ethernet card when a wireless bridge is used)
|-
|virtual_if||yes|no||no||Enable the creation of an alias on the device to use a second IP in the 172.16i.jk.lm.n0/28 network (non AODV)<br />When this interface is configured, the dhcp server is automatically configured and started for this subnet.
|}
=== [lan] ===
Configuration of the LAN wired device (if any).
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|interface||none|eth0|eth1|...||none||Interface used by an optional ethernet card
|-
|address||dhcp|fixed||-||Address allocation scheme:<br />''dhcp'': network is configure through a DHCP server on the wired network<br />''fixed'': fixed ip. In that case all the following parameters need to be specified
|-
|ip||IP Address||-||For ''fixed'' address: the IP to be used
|-
|broadcast||Broadcast address||-||For ''fixed'' address: the broadcast address to be used
|-
|netmask||Network mask||-||For ''fixed'' address: the network mask to be used
|}
== Packages ==
This section covers all the runtime parameters related to the packages.
<br />See also [[Bubble package]] for more details about the package structure.
=== [packages] ===
General information on the packages
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|size||Number||-||Free space on the RAM Disk after install (in KB)
|-
|inode||Number||-||Free inodes on the RAM Disk after install
|-
|retry||Number||0||Number of retries when fetching a package.<br />By default, the package installer just skips the packages it cannot find.<br />Setting this parameter allows to use a system distributed on multiple floppies: when a package is not found, a console message will request to change media.<br /> /!\ As a consequence, the system will not be able to boot unattended when this parameter is set and a packages are missing...
|-
|package||List of packages||-||List all the packages to consider. To be loaded at runtime, a package must be listed here '''and''' have the ''load'' parameter set to ''yes''!
|}
=== Common parameters for all packages ===
The following parameters are valid for all packages
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|size||Number||-||Disk space used by this package on (RAM) disk (in KB)
|-
|inode||Number||-||Inodes used by this package on (RAM) disk
|-
|load||yes|no||yes||Load this package?
|-
|file||File||''package''.tbz||Filename of the tarball for this package
|-
|retry||Number||''[package] parameter''||Number of retries when fetching a package.<br />This parameter overrides the one at ''[package]'' level and has the same signification.
|-
|install||File||''package''||Name of a script located in /tmp which will be run at install (boot) time
|-
|start||yes|no||yes||If this package is a ''service'', do we need to start it at boot time?
|-
|module_params||Text||-||If this package is a ''Driver Package'', the parameters which will be passed to the module (see [[Bubble package]])
|}
Except for the ''size'' and ''inode'' parameter, you can safely omit all the others, and the package will do what you expect!
=== [keybbe] ===
Configures Belgian keyboard for the console.
No additional parameter.
=== [pcmcia] ===
PCMCIA Support.
<br />This package contains the pcmcia ''cardmanager'' and the core modules.
The ''cardmanager'' is only run once at boot time -- therefore hot plug of device is not supported, this is beyond the scope of Bubble.
/!\ This package only implements the pcmcia core subsystem. This means that no actual card driver is in this package, they must be built separately (via the ''driver'' parameter of the ''[image]'' section). Also, all the packages related to pcmcia drivers cannot be started at package install time (i.e. ''start = no'') as the modules are loaded through the card services.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|pcic||i82365|tcic|yenta-socket||-||pcmcia controller type -- actually the name of the module supporting it<br /> /!\ The pcic module is '''not''' part of the package -- it must be built separately as driver. We are doing this to limit package size
|-
|pcic_opts||Module options||-||Controller options to pass to the module
|}
=== [wtools] ===
Install wireless tools and configure the wireless interface at boot time.
<br />This package is '''not''' needed when you use a wireless bridge (WET-11, ...) as interface.
No additional parameter.
=== [iptables] ===
Provides basic firewalling for the node -- See [[Routing and firewall]] for details.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|port||List of TCP/IP ports||-||List of ''ports'' accepted by the node on the Wireless interface.<br />Typically we allow ssh and www
|-
|mac||List of mac addresses||-||List of ''trusted'' mac addresses for which we accept to ''forward'' to the Wired Lan if present
|-
|script||File name||-||Additional firewall script to run. The script needs to be placed on the distribution media
|}
=== [aodv] ===
Kernel AODV.
AODV will be started on the wireless interface.
No additional parameter.
=== [tinyhttp] ===
Starts the [[BusyBox]] tiny http server.
<br />The features of this server are somewhat limited but it is more than enough to provide a few pages of information.
<br />By default there is a simple home (''index.html'') and a cgi script (''cgi-bin/node_stat'') which gives information about the node.
Additionally content can be added with the ''website'' parameter.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|website||File||-||Name of a file containing the web pages<br />The file '''must be''' a bzipped tarball that will be extracted at the document root of the web server.
|}
=== [openssh] ===
This package bundles zlib, openssl and openssh.
This is the biggest package of the distribution (around 1MB), so if if you are booting from floppy, you will need a separate one for ssh!
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|rsa_key||File||-||Name of a file on the boot medium containing the private RSA key<br />(''/etc/ssh/ssh_host_rsa_key'' file)
|-
|rsa_key_pub||File||-||Name of a file on the boot medium containing the public RSA key<br />(''/etc/ssh/ssh_host_rsa_key.pub'' file)
|-
|dsa_key||File||-||Name of a file on the boot medium containing the private DSA key<br />(''/etc/ssh/ssh_host_dsa_key'' file)
|-
|dsa_key_pub||File||-||Name of a on the boot medium file containing the public DSA key<br />(''/etc/ssh/ssh_host_dsa_key.pub'' file)
|-
|authorized||File||-||Name of a on the boot medium file containing the public key of users who will have root access<br />(''~root/.ssh/authorized_keys'' file)
|}
If you do not provide any key file as parameter, the node will generate the necessary RSA and DSA private/public keys at boot time.
<br />It is strongly recommended to save the generated keys, otherwise you will get new ones after each boot, and clients will usually complain
=== [dropbear] ===
This package bundles zlib and [http://matt.ucc.asn.au/dropbear/dropbear.html Dropbear SSH server].
Dropbear is a small and secure SSH '''server'''. The package footprint is around 140K!
<br />This package does not include a ssh '''client''' -- if you need this, you will have to go for the full featured openssh package.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|rsa_key||File||-||Name of a file on the boot medium containing the private RSA key<br />(''/etc/dropbear/dropbear_rsa_host_key'' file)
|-
|dss_key||File||-||Name of a file on the boot medium containing the private DSS key<br />(''/etc/dropbear/dropbear_dss_host_key'' file)
|-
|authorized||File||-||Name of a on the boot medium file containing the public key of users who will have root access<br />(''~root/.ssh/authorized_keys'' file)
|}
If you do not provide any key file as parameter, the node will generate the necessary RSA and DSS private keys at boot time.
<br />It is strongly recommended to save the generated keys, otherwise you will get new ones after each boot, and clients will usually complain
[[Category:Bubble]]
[http://www.casinos-go.com/online-casino-tips/online-casino-games.html online casino games]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.casinos-new.com/poker.html Online casino - Poker in casino]
[http://www.gambling-online-theory.com/casinos/strategy-casinos.html strategy casinos]
[http://www.magical-casino.com/casino_bonus.html Casino Bonus ]
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.gambling-online-theory.com/casinos/fun-casinos.html fun casinos]
MeshCube
0
1327
1412
1384
2006-11-19T23:32:17Z
Fraseyboy
2
wikitext
text/x-wiki
= Configuration Basique d'une Mescube pour ReseauCitoyen =
Document sans ambition -- juste un brain-dump après une configuration.
<br />Le but n'est pas de réaliser une distribution complète, mais de configurer rapidement un cube pour RC.
= Installation de base =
Le cube est installé avec [http://meshcube.org/meshwiki/NyLon NyLon]
Pour reflasher le cube, on utilise la procédure [http://meshcube.org/meshwiki/InstallImage InstallImage]
/!\ Le reflachage implique la perte totale de la configuration du cube
== Script d'ugrade ==
Si le cube tourne encore l'ancienne distribution, il faut tout d'abord récupérer le script ''install-image'':
wget http://meshcube.org/nylon/utils/install-image
/!\ La distribution originale contient elle aussi un script ''install-image'' qui ne fait pas la même chose.
== re-flashage ==
On installe Nylon 0.8 pre2
install-image -s http://bulles.bxl.rc/mtx/images
ou
install-image -s http://reseaucitoyen.be/diskless/mtx/images
Si vous utilisez un serveur local, vous devez copier ''filesystem.img.gz'' et ''kernel.img.gz''
Le flashage prend ensuite une dizaine de minutes, surtout '''ne pas éteindre le cube'''!
On peut ensuite accéder le cube, il prend une adresse DHCP sur le port ethernet, et est de toutes façons accessible sur 192.168.0.250 en ssh, sans mot de passe root.
= Configuration =
Le cube est configuré par défaut en mode AP sur la première interface wireless et en mode Mesh sur la seconde.
Voici quelques opérations a effectuer pour le convertir en noeud RC de base
== Mot de passe ==
Mettez un mot de passe pour root!
== HostName ==
vi /etc/hostname
== Firewall ==
Shorewall est configuré pour l'environnement [http://meshcube.org Meschube].
<br />Pour ne pas se prendre la tête, on le désinstallera...
ipkg remove shorewall
Alternativement, reconfigurez shorewall, mais la config de base ne fonctionnera pas en mode !ReseauCitoyen!
== Reseau ==
On va ré-assigner la première (et seule) interface wireless au réseau RC:
/etc/network/interface:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Ethernet
auto eth0
iface eth0 inet dhcp
# wlan interface for mesh
auto wlan0
iface wlan0 inet static
address 10.10.223.73
netmask 255.0.0.0
broadcast 10.255.255.255
wireless_mode ad-hoc
wireless_essid bombolong
wireless_channel 1
Adaptez éventuellment ''eth0''
== Configuration du Mesh ==
Il faut changer la configuration initiale du mesh (répertoire /etc/nylon)
=== hostap.conf ===
Parametres par défaut, si ce n'est
MESH_BASIC_RATES="1"
Limite le ''rate'' à 2Mb/s
=== interfaces.conf ===
#
# high level interfaces definition for scripts
#
#
# which physical interfaces do we have
# default: "eth0 wlan0 wlan1"
#
INTERFACES="eth0 wlan0"
#
# interface serving the clients
# default wlan0
#
WLANIF_CLIENT="xxx"
#
# interface for the mesh
# default: wlan1
#
WLANIF_MESH="wlan0"
=== route.list ===
Enlever les routes par défaut
== IPKG ==
Ajouter le feed dans /etc/ipkg.cong
src bulles http://bulles.bxl.rc/mtx/ipk
Retirer le lien vers le feed original dans ''/etc/ipkg/nylon-feed.conf''
== OLSR ==
Installer olsrd-libs
ipkg update
ipkg install olsrd-libs
La configuration installée basée sur le NLQ et ne devrait pas être changée.
= C'est tout! =
Rebootez le cube, tout est en ordre...
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.magical-casino.com/strategy.html Online casino strategies.]
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
[http://www.gambling-online-theory.com/casinos/fun-casinos.html fun casinos]
[http://www.magical-casino.com/casino_games.html Casino games.]
[http://www.gambling-online-theory.com/online-casino/bet-online-casino.html bet online casino]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.magical-casino.com/casino_download.html Casino Downloading Action.]
1452
1412
2006-11-23T09:43:53Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Configuration Basique d'une Mescube pour ReseauCitoyen =
Document sans ambition -- juste un brain-dump après une configuration.
<br />Le but n'est pas de réaliser une distribution complète, mais de configurer rapidement un cube pour RC.
= Installation de base =
Le cube est installé avec [http://meshcube.org/meshwiki/NyLon NyLon]
Pour reflasher le cube, on utilise la procédure [http://meshcube.org/meshwiki/InstallImage InstallImage]
/!\ Le reflachage implique la perte totale de la configuration du cube
== Script d'ugrade ==
Si le cube tourne encore l'ancienne distribution, il faut tout d'abord récupérer le script ''install-image'':
wget http://meshcube.org/nylon/utils/install-image
/!\ La distribution originale contient elle aussi un script ''install-image'' qui ne fait pas la même chose.
== re-flashage ==
On installe Nylon 0.8 pre2
install-image -s http://bulles.bxl.rc/mtx/images
ou
install-image -s http://reseaucitoyen.be/diskless/mtx/images
Si vous utilisez un serveur local, vous devez copier ''filesystem.img.gz'' et ''kernel.img.gz''
Le flashage prend ensuite une dizaine de minutes, surtout '''ne pas éteindre le cube'''!
On peut ensuite accéder le cube, il prend une adresse DHCP sur le port ethernet, et est de toutes façons accessible sur 192.168.0.250 en ssh, sans mot de passe root.
= Configuration =
Le cube est configuré par défaut en mode AP sur la première interface wireless et en mode Mesh sur la seconde.
Voici quelques opérations a effectuer pour le convertir en noeud RC de base
== Mot de passe ==
Mettez un mot de passe pour root!
== HostName ==
vi /etc/hostname
== Firewall ==
Shorewall est configuré pour l'environnement [http://meshcube.org Meschube].
<br />Pour ne pas se prendre la tête, on le désinstallera...
ipkg remove shorewall
Alternativement, reconfigurez shorewall, mais la config de base ne fonctionnera pas en mode !ReseauCitoyen!
== Reseau ==
On va ré-assigner la première (et seule) interface wireless au réseau RC:
/etc/network/interface:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Ethernet
auto eth0
iface eth0 inet dhcp
# wlan interface for mesh
auto wlan0
iface wlan0 inet static
address 10.10.223.73
netmask 255.0.0.0
broadcast 10.255.255.255
wireless_mode ad-hoc
wireless_essid bombolong
wireless_channel 1
Adaptez éventuellment ''eth0''
== Configuration du Mesh ==
Il faut changer la configuration initiale du mesh (répertoire /etc/nylon)
=== hostap.conf ===
Parametres par défaut, si ce n'est
MESH_BASIC_RATES="1"
Limite le ''rate'' à 2Mb/s
=== interfaces.conf ===
#
# high level interfaces definition for scripts
#
#
# which physical interfaces do we have
# default: "eth0 wlan0 wlan1"
#
INTERFACES="eth0 wlan0"
#
# interface serving the clients
# default wlan0
#
WLANIF_CLIENT="xxx"
#
# interface for the mesh
# default: wlan1
#
WLANIF_MESH="wlan0"
=== route.list ===
Enlever les routes par défaut
== IPKG ==
Ajouter le feed dans /etc/ipkg.cong
src bulles http://bulles.bxl.rc/mtx/ipk
Retirer le lien vers le feed original dans ''/etc/ipkg/nylon-feed.conf''
== OLSR ==
Installer olsrd-libs
ipkg update
ipkg install olsrd-libs
La configuration installée basée sur le NLQ et ne devrait pas être changée.
= C'est tout! =
Rebootez le cube, tout est en ordre...
Wrt Citoyen
0
1316
1413
1395
2006-11-20T04:01:35Z
Fraseyboy
2
wikitext
text/x-wiki
= OpenWrt pour RéseauCitoyen =
Ce petit How-To décrit l'installation de [[Wrt Citoyen]] sur un WRT de LinkSys
== Préparation ==
Deux cas se présentent: vous avez encore un WRT avec son firmware d'origine ou vous avez déjà configuré votre WRT sous OpenWrt.
=== Installer OpenWrt ===
L'installation d'OpenWrt sort du cadre de ce How-To et est très bien décrite dans le [http://openwrt.org/userguide.html guide de l'utilisateur].
Les firmwares compilés (et testés!) sont disponibles sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/
** http://10.51.110.172/openwrt/
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
Quelques points à prendre en considération:
* Dans une configuration ReseauCitoyen, vous n'avez sans doute pas besoin de ''dnsmasq'' -- désactivez le!
* Vous allez devoir changer le configuration de IPKG, donc il faut le mettre en lecture/écriture
* Procédez de la même façon si vous devez modifier ''/etc/resolv.conf''
@wrt-bulles:/# killall dnsmasq
@wrt-bulles:/# rm /etc/init.d/S50dnsmasq
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
=== OpenWrt déjà intallé ===
Si vous avez une autre version de AODV déjà installée, désinstallez la!
@wrt-bulles:/# ipkg remove aodv-uu
Configurez ipkg pour utiliser le feed !ReseauCitoyen. Le feed est disponible sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/feeds/stable/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/feeds/stable/
** http://10.51.110.172/openwrt/feeds/stable/
Mon fichier ''/etc/ipkg.conf'' ressemble à ceci:
src bulles http://reseaucitoyen.be/diskless/openwrt/feeds/stable
src openwrt http://openwrt.org/ipkg
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
== Configuration Réseau ==
Installez le paquet ''rc-tools'' et exécutez ''rc-setup-net'' qui va s'assurer que votre WRT est prêt pour !ReseauCitoyen:
@wrt-bulles:/# ipkg install rc-tools
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/rc-tools_0.1.1-1_mipsel.ipk ...
Connecting to reseaucitoyen.be:80
rc-tools_0.1.1-1_mip 100% |*****************************| 2305 00:00 ETA
Done.
Unpacking rc-tools...Done.
Configuring rc-tools...Done.
@wrt-bulles:/# rc-setup-net
Please confirm the hardware setting of your WRT:
LAN (4 port Switch) on vlan0
WAN (Separate port) on vlan1
Wireless on eth1
This should be correct unless you played with admcfg...
You can override this by setting the LAN_IF, WAN_IF, WIFI_IF environment variables.
Do you want to continue? Y
I will now configure your WRT for ReseauCitoyen:
No bridging between any interface
LAN (*): Static Address set to 192.168.1.68
WAN (*): Static Address set to 192.168.2.68
Wireless: Static address set to 10.160.249.87
essid bombolong channel 1
(*) No changes are actually done on the LAN/WAN interfaces
Do you want to continue? Y
Writing config to NVRAM...
Commit changes to NVRAM...
nvram_commit(): start
nvram_commit(): end
All done. Please re-boot your WRT to activate the changes
Et rebootez!
== Installation de ssh ==
S'il s'agit d'une nouvelle installation, c'est le momment d'installer 'ssh'!
@wrt-bulles:/# ipkg install dropbear
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/dropbear_0.44test3_mipsel.ipk ...
...
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
== Installation du protocole de routage ==
Le plus dur est fait! Il ne reste plus qu'a installer un paquet AODV ou OLSR:
* '''aodv-uu''': la version originale
* '''aodv-uu-ipt''': la version patchée qui utilise iptables et permet d'utiliser le WRT en temps que passerelle du réseau local non-aodv vers RéseauCitoyen
* '''olsrd''': OLSR configuré pour RéseauCitoyen
/!\ Il semble que l'ipkg de OpenWrt ne supporte pas la clause ''Conflicts'' des paquets...<br />'''Ne pas installer plusieurs de ces paquets en même temps!'''
Exemple:
root@wrt-bulles:~# ipkg install aodv-uu-ipt
AODV est démarré automatiquement au boot.<br />Pour le démarrer/arreter manuellement:
root@wrt-bulles:~# /etc/init.d/S47aodv-uu {start|stop}
Le fichier de configuration ''/etc/aodv-uu.cfg'' permet de le désactiver ou le configurer.
== Paquet Bonus ==
En bonus, un ficher ''host'' récent est disponible sur le ''feed'':
ipkg install hosts-file
[[Anchor(rapide)]]
= Installation Rapide =
La distribution a été mise a jour...
En attendant une meilleure documentation voici les étapes pour une installation rapide d'un WRT neuf
== Firmware ==
Flasher le firmware à partir de l'interface web
== Paquets ==
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
Mise a jour de /etc/ipkg.conf
src bulles http://192.168.1.2/openwrt/feeds/stable
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
Installez tous les paquets
@wrt-bulles:/# ipkg install dropbear rc-tools rc-www aodv-uu-ipt rc-watchdog hosts-file
Configurez le wrt
<br />Convention: exemple pour le wrt 5:
@wrt-bulles:/# rc-setup -h
Usage: /sbin/rc-setup [options]
Options:
-H|--hostname <hostname> set hostname
-l|--lan <addr> set IP Address on the LAN (switch) (*)
--[no]dhcp Enable/Disable DHCP server on the LAN
-g|--gateway <gateway> set (internet) gateway (lan side)
-w|--wan <addr> set IP Address on the WAN port (*)
-r|--rate {0|1|2|5.5|11} set Wireless rate (0 = Auto)
Special Options: (You should normally not need these)
--lanif <lan iface> override LAN Interface (vlan0/2)
--wanif <wan iface> override WAN Interface (vlan1)
--wifiif <wifi iface> override Wireless Interface (eth1/2)
@wrt-bulles:/# rc-setup -H rcwrt-05 -l 192.168.29.135 --dhcp -w 192.168.30.135 -r 2
'''Rebootez'''
@wrt-bulles:/# reboot
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
Testez l'install
Changez /etc/ipkg.conf en une adresse RC
src bulles http://bulles.bxl.rc/openwrt/feeds/stable
dest root /
dest ram /tmp
[http://www.bestweb-online-casinos.com/best-online-casino/online-casino-free-game.html online casino free game]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
[http://www.slots-wiki.com/index.php/slots slots]
[http://www.casino-theory.com/online-casino-royale/online-casino-gamble.html online casino gamble]
[http://www.online-casino-wiki.com/index.php/online_casino_tips online casino tips]
[http://www.casinos-go.com/online-casino-tips/index.html online casino tips]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.gambling-online-theory.com/casinos/casinos-strategy.html casinos strategy]
[http://www.casinos-new.com/internet-casino.html Online casino - Internet Casinos]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://www.magical-casino.com/casino_download.html Casino Downloading Action.]
1451
1413
2006-11-23T09:43:51Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= OpenWrt pour RéseauCitoyen =
Ce petit How-To décrit l'installation de [[Wrt Citoyen]] sur un WRT de LinkSys
== Préparation ==
Deux cas se présentent: vous avez encore un WRT avec son firmware d'origine ou vous avez déjà configuré votre WRT sous OpenWrt.
=== Installer OpenWrt ===
L'installation d'OpenWrt sort du cadre de ce How-To et est très bien décrite dans le [http://openwrt.org/userguide.html guide de l'utilisateur].
Les firmwares compilés (et testés!) sont disponibles sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/
** http://10.51.110.172/openwrt/
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
Quelques points à prendre en considération:
* Dans une configuration ReseauCitoyen, vous n'avez sans doute pas besoin de ''dnsmasq'' -- désactivez le!
* Vous allez devoir changer le configuration de IPKG, donc il faut le mettre en lecture/écriture
* Procédez de la même façon si vous devez modifier ''/etc/resolv.conf''
@wrt-bulles:/# killall dnsmasq
@wrt-bulles:/# rm /etc/init.d/S50dnsmasq
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
=== OpenWrt déjà intallé ===
Si vous avez une autre version de AODV déjà installée, désinstallez la!
@wrt-bulles:/# ipkg remove aodv-uu
Configurez ipkg pour utiliser le feed !ReseauCitoyen. Le feed est disponible sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/feeds/stable/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/feeds/stable/
** http://10.51.110.172/openwrt/feeds/stable/
Mon fichier ''/etc/ipkg.conf'' ressemble à ceci:
src bulles http://reseaucitoyen.be/diskless/openwrt/feeds/stable
src openwrt http://openwrt.org/ipkg
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
== Configuration Réseau ==
Installez le paquet ''rc-tools'' et exécutez ''rc-setup-net'' qui va s'assurer que votre WRT est prêt pour !ReseauCitoyen:
@wrt-bulles:/# ipkg install rc-tools
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/rc-tools_0.1.1-1_mipsel.ipk ...
Connecting to reseaucitoyen.be:80
rc-tools_0.1.1-1_mip 100% |*****************************| 2305 00:00 ETA
Done.
Unpacking rc-tools...Done.
Configuring rc-tools...Done.
@wrt-bulles:/# rc-setup-net
Please confirm the hardware setting of your WRT:
LAN (4 port Switch) on vlan0
WAN (Separate port) on vlan1
Wireless on eth1
This should be correct unless you played with admcfg...
You can override this by setting the LAN_IF, WAN_IF, WIFI_IF environment variables.
Do you want to continue? Y
I will now configure your WRT for ReseauCitoyen:
No bridging between any interface
LAN (*): Static Address set to 192.168.1.68
WAN (*): Static Address set to 192.168.2.68
Wireless: Static address set to 10.160.249.87
essid bombolong channel 1
(*) No changes are actually done on the LAN/WAN interfaces
Do you want to continue? Y
Writing config to NVRAM...
Commit changes to NVRAM...
nvram_commit(): start
nvram_commit(): end
All done. Please re-boot your WRT to activate the changes
Et rebootez!
== Installation de ssh ==
S'il s'agit d'une nouvelle installation, c'est le momment d'installer 'ssh'!
@wrt-bulles:/# ipkg install dropbear
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/dropbear_0.44test3_mipsel.ipk ...
...
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
== Installation du protocole de routage ==
Le plus dur est fait! Il ne reste plus qu'a installer un paquet AODV ou OLSR:
* '''aodv-uu''': la version originale
* '''aodv-uu-ipt''': la version patchée qui utilise iptables et permet d'utiliser le WRT en temps que passerelle du réseau local non-aodv vers RéseauCitoyen
* '''olsrd''': OLSR configuré pour RéseauCitoyen
/!\ Il semble que l'ipkg de OpenWrt ne supporte pas la clause ''Conflicts'' des paquets...<br />'''Ne pas installer plusieurs de ces paquets en même temps!'''
Exemple:
root@wrt-bulles:~# ipkg install aodv-uu-ipt
AODV est démarré automatiquement au boot.<br />Pour le démarrer/arreter manuellement:
root@wrt-bulles:~# /etc/init.d/S47aodv-uu {start|stop}
Le fichier de configuration ''/etc/aodv-uu.cfg'' permet de le désactiver ou le configurer.
== Paquet Bonus ==
En bonus, un ficher ''host'' récent est disponible sur le ''feed'':
ipkg install hosts-file
[[Anchor(rapide)]]
= Installation Rapide =
La distribution a été mise a jour...
En attendant une meilleure documentation voici les étapes pour une installation rapide d'un WRT neuf
== Firmware ==
Flasher le firmware à partir de l'interface web
== Paquets ==
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
Mise a jour de /etc/ipkg.conf
src bulles http://192.168.1.2/openwrt/feeds/stable
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
Installez tous les paquets
@wrt-bulles:/# ipkg install dropbear rc-tools rc-www aodv-uu-ipt rc-watchdog hosts-file
Configurez le wrt
<br />Convention: exemple pour le wrt 5:
@wrt-bulles:/# rc-setup -h
Usage: /sbin/rc-setup [options]
Options:
-H|--hostname <hostname> set hostname
-l|--lan <addr> set IP Address on the LAN (switch) (*)
--[no]dhcp Enable/Disable DHCP server on the LAN
-g|--gateway <gateway> set (internet) gateway (lan side)
-w|--wan <addr> set IP Address on the WAN port (*)
-r|--rate {0|1|2|5.5|11} set Wireless rate (0 = Auto)
Special Options: (You should normally not need these)
--lanif <lan iface> override LAN Interface (vlan0/2)
--wanif <wan iface> override WAN Interface (vlan1)
--wifiif <wifi iface> override Wireless Interface (eth1/2)
@wrt-bulles:/# rc-setup -H rcwrt-05 -l 192.168.29.135 --dhcp -w 192.168.30.135 -r 2
'''Rebootez'''
@wrt-bulles:/# reboot
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
Testez l'install
Changez /etc/ipkg.conf en une adresse RC
src bulles http://bulles.bxl.rc/openwrt/feeds/stable
dest root /
dest ram /tmp
Bubble:Community Portal
4
1278
1414
1383
2006-11-20T05:41:43Z
Fraseyboy
2
wikitext
text/x-wiki
= Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
= Technicalities =
This wiki is available at the same time on Internet and [http://www.reseaucitoyen.be RéseauCitoyen]. Historically it was hosted on my home gateway, but the hardware is too old to be able to run MediaWiki happily.
<br />So I eventually decided to move the wiki to the datacenter and use a reverse proxy for the [http://www.reseaucitoyen.be RéseauCitoyen] side. This implies that we need to detect proxies, and be able to link outside the wiki, without specifying the name of the server. This requires a couple of changes in the ''LocalSettings.php'' configuration file:
# Protocols -- we need this shortcut to link outside the wiki
# (Same behaviour as MoinMoin)
$wgUrlProtocols .= '|http:';
# Take care of the reverse proxy
$wgUseSquid = false;
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.gambling-online-theory.com/online-casino/bet-online-casino.html bet online casino]
[http://www.gambling-online-theory.com/online-casino/bet-online-casino.html bet online casino]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.casinos-new.com/internet-casino.html Online casino - Internet Casinos]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.slots-wiki.com/index.php/slots_online slots online]
[http://www.magical-casino.com/security.html Casinos security online.]
1450
1414
2006-11-23T09:43:48Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
= Technicalities =
This wiki is available at the same time on Internet and [http://www.reseaucitoyen.be RéseauCitoyen]. Historically it was hosted on my home gateway, but the hardware is too old to be able to run MediaWiki happily.
<br />So I eventually decided to move the wiki to the datacenter and use a reverse proxy for the [http://www.reseaucitoyen.be RéseauCitoyen] side. This implies that we need to detect proxies, and be able to link outside the wiki, without specifying the name of the server. This requires a couple of changes in the ''LocalSettings.php'' configuration file:
# Protocols -- we need this shortcut to link outside the wiki
# (Same behaviour as MoinMoin)
$wgUrlProtocols .= '|http:';
# Take care of the reverse proxy
$wgUseSquid = false;
Bubble runtime architecture
0
1284
1415
1288
2006-11-20T07:08:15Z
Fraseyboy
2
wikitext
text/x-wiki
= Kernel =
The development is based on the latest 2.4.
See [[Linux kernel]] for more details.
= Boot process =
== High level description ==
# Load kernel (including initrd)
# Get configuration file
# Create ramdisk
# Copy base system from initrd to ramdisk
# Load packages into ramdisk as specified in the configuration file
# switchroot and start the system from ramdisk
== Boot media ==
Bubble supports the following boot media:
* [[Network boot]]
** Directly via DHCP/BootP if the hardware supports it
** Via PXEBoot (using [http://syslinux.zytor.com/pxe.php PXELinux])
** Via [http://www.etherboot.org/ Etherboot]
* CD-ROM (Using [http://syslinux.zytor.com/iso.php ISOLinux])
* [[SysLinux boot]]: boot from a FAT filesystem (Using [http://syslinux.zytor.com/faq.php SysLinux]) <br />It allows too boot from:
** A floppy disk
** A compact Flash (Via an IDE/CF bridge)
The boot media contains:
* Kernel image
* Initrd image (bundled with the kernel in case of a network boot)
* The [[Bubble configuration file]]
* The packages
== Initrd ==
The kernel is booted through an initial ram disk.
There is no alternative since:
* We need to be able to load the right network module in case of network boot or exotic hardware
* The root fs is a ramdisk which is generated at run time
== About ramdisk ==
It took me some time to realize that the '''ramdisk_size''' kernel parameter is just there to set an upper bound to the ramdisks.
<br />It does not mean that this amount of memory is allocated when a ramdisk is created.
In DiskLess we are setting the ''ramdisk_size'' to the size of the initrd ramdisk. This is not wrong, but it actually limits the size of all ramdisks!
In Bubble, we want a small initrd, so we cannot do this anymore!
<br />We just set the ''ramdisk_size'' to an arbitrary high value -- this does not matter too much.
== Pivot Root ==
When the ''new'' ramdisk is ready, we need to swap the root devices. This is done by the `pivot_root` command.
I had to experiment a bit to get it right:
# BusyBox will not start init if does not have pid 1.<br />The workaround is to launch the ''linuxrc'' applet
# As consequence of #1, ''linuxrc'' need to be enabled in BusyBox. This makes that at install time, BusyBox will overwrite the ''linuxrc'' of the initrd, which is not what we need.<br />To circumvent this, we will simply copy our linuxrc scripts in the fixups...
For reference, the snipped of CVS:buildroot/sources/target_skeleton/linuxrc.sh which does the trick:
echo "---------- Pivot Root --------------------------------------------------"
/bin/umount /proc
cd $ROOT
/sbin/pivot_root . initrd
echo "---------- Stating init ------------------------------------------------"
ln -s sbin/init linuxrc
exec chroot . ./linuxrc <dev/console >dev/console 2>&1
echo "---------- Init could not be started!!! --------------------------------"
== Boot Device identification ==
Another difficulty is to identify the boot device!
<br />This information is just not available as such.
<br />We need this information to load our configuration file and the packages that need to be installed
There are several possibilities:
# Try all the possible combinations (based on /proc/devices and /proc/filesystems)<br />This is not bullet proof, a wrong device can match...
# Scan the PCI bus to find a network card<br />Again here, we may get a wrong one!
# Pass the information on the command line
The last one may require manual configuration, but it will work as-is most of the time:
* [[Network boot]]: We are doing a new DHCP request to get all the information from the DHCP server (no configuration required).<br />IP can be passed on the command line, but unfortunately this does not help too much, since we are missing information about the BootP server. Therefore we have to re-query the DHCP server. The following information is given for reference, but is not used in Bubble.
** [http://www.etherboot.org/ Etherboot]: use the `--ip=rom` option in ''mkelf-linux''
** [http://syslinux.zytor.com/pxe.php PXELinux]: set `IPAPPEND 1`in the configuration file
* Floppy/CD-Rom/CF: all are [http://syslinux.zytor.com/faq.php SysLinux] -- we add the device in the configuration file (`APPEND` parameter).
[[Category:Bubble]]
[http://www.web-craps.com craps]
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
[http://www.fortune-slots.com/ slots]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.magical-casino.com/casino_games.html Casino games.]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.magical-casino.com/security.html Casinos security online.]
[http://www.casinos-go.com/online-casino-tips/free-online-casino-slot.html free online casino slot]
1449
1415
2006-11-23T09:43:45Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Kernel =
The development is based on the latest 2.4.
See [[Linux kernel]] for more details.
= Boot process =
== High level description ==
# Load kernel (including initrd)
# Get configuration file
# Create ramdisk
# Copy base system from initrd to ramdisk
# Load packages into ramdisk as specified in the configuration file
# switchroot and start the system from ramdisk
== Boot media ==
Bubble supports the following boot media:
* [[Network boot]]
** Directly via DHCP/BootP if the hardware supports it
** Via PXEBoot (using [http://syslinux.zytor.com/pxe.php PXELinux])
** Via [http://www.etherboot.org/ Etherboot]
* CD-ROM (Using [http://syslinux.zytor.com/iso.php ISOLinux])
* [[SysLinux boot]]: boot from a FAT filesystem (Using [http://syslinux.zytor.com/faq.php SysLinux]) <br />It allows too boot from:
** A floppy disk
** A compact Flash (Via an IDE/CF bridge)
The boot media contains:
* Kernel image
* Initrd image (bundled with the kernel in case of a network boot)
* The [[Bubble configuration file]]
* The packages
== Initrd ==
The kernel is booted through an initial ram disk.
There is no alternative since:
* We need to be able to load the right network module in case of network boot or exotic hardware
* The root fs is a ramdisk which is generated at run time
== About ramdisk ==
It took me some time to realize that the '''ramdisk_size''' kernel parameter is just there to set an upper bound to the ramdisks.
<br />It does not mean that this amount of memory is allocated when a ramdisk is created.
In DiskLess we are setting the ''ramdisk_size'' to the size of the initrd ramdisk. This is not wrong, but it actually limits the size of all ramdisks!
In Bubble, we want a small initrd, so we cannot do this anymore!
<br />We just set the ''ramdisk_size'' to an arbitrary high value -- this does not matter too much.
== Pivot Root ==
When the ''new'' ramdisk is ready, we need to swap the root devices. This is done by the `pivot_root` command.
I had to experiment a bit to get it right:
# BusyBox will not start init if does not have pid 1.<br />The workaround is to launch the ''linuxrc'' applet
# As consequence of #1, ''linuxrc'' need to be enabled in BusyBox. This makes that at install time, BusyBox will overwrite the ''linuxrc'' of the initrd, which is not what we need.<br />To circumvent this, we will simply copy our linuxrc scripts in the fixups...
For reference, the snipped of CVS:buildroot/sources/target_skeleton/linuxrc.sh which does the trick:
echo "---------- Pivot Root --------------------------------------------------"
/bin/umount /proc
cd $ROOT
/sbin/pivot_root . initrd
echo "---------- Stating init ------------------------------------------------"
ln -s sbin/init linuxrc
exec chroot . ./linuxrc <dev/console >dev/console 2>&1
echo "---------- Init could not be started!!! --------------------------------"
== Boot Device identification ==
Another difficulty is to identify the boot device!
<br />This information is just not available as such.
<br />We need this information to load our configuration file and the packages that need to be installed
There are several possibilities:
# Try all the possible combinations (based on /proc/devices and /proc/filesystems)<br />This is not bullet proof, a wrong device can match...
# Scan the PCI bus to find a network card<br />Again here, we may get a wrong one!
# Pass the information on the command line
The last one may require manual configuration, but it will work as-is most of the time:
* [[Network boot]]: We are doing a new DHCP request to get all the information from the DHCP server (no configuration required).<br />IP can be passed on the command line, but unfortunately this does not help too much, since we are missing information about the BootP server. Therefore we have to re-query the DHCP server. The following information is given for reference, but is not used in Bubble.
** [http://www.etherboot.org/ Etherboot]: use the `--ip=rom` option in ''mkelf-linux''
** [http://syslinux.zytor.com/pxe.php PXELinux]: set `IPAPPEND 1`in the configuration file
* Floppy/CD-Rom/CF: all are [http://syslinux.zytor.com/faq.php SysLinux] -- we add the device in the configuration file (`APPEND` parameter).
[[Category:Bubble]]
Rg Kernel
0
1298
1416
1332
2006-11-20T08:32:07Z
Fraseyboy
2
wikitext
text/x-wiki
= Summary =
We are using [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann's kernel patches] to support the RG-1000.
They have been developed for the Linux 2.2 kernel, and I have ''ported'' them to the 2.4 series.
All the kernel changes are ''protected'' by the '''CONFIG_RC_1000''' ''define'' which is a selectable option of the '''ELAN''' machine type.
These are the main categories of patches:
= Modem Console support =
The only way to have console output is to use the modem port.
<br />This set of patches ensure that all console output is re-directed to the modem port.
Of course, the ''serial console'' need to be selected during the kernel build.
{i} '''Status''': {OK} no problem.
= RG-1000 LED's handling =
Driver to handle the RG-1000 LED's.
<br />It is used by the other drivers, and provide a fancy user-mode interface through devices. Device ''major'' is '''100'''; ''minors'' are in the table below.
As opposed to the Airport, the RG-1000 has 8 LED's.
http://reseaucitoyen.be/albums/rg1000/aaf.sized.jpg
From top to bottom, we have:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|Description (Original usage of the LEDs)||Symbol ||Minor Green||Minor Red
|-
|Power ||o- ||0 ||1
|-
|Wireless ||~ ||2 ||3
|-
|Ethernet ||o---o ||4 ||5
|-
|Modem || |---| ||6 ||7
|}
{i} '''Status''': {OK} no problem.
= LAN support =
Driver to handle the network chip
Minor patches to ''driver/net/lance.c''
{i} '''Status''': {OK} no problem.
= WLAN support =
Driver to handle wireless card
This is a bit more complex: the RG-1000 as a PCMCIA bridge which is compatible with a i82365. But we do not want to load the whole PCMCIA/cardmgr stuff.
So we have an additional driver -- ''driver/net/wireless/orinoco_rc1000.c'' -- which works like the PLX support (''orinoco_plx.c''): we initialize the PCMCIA bridge, setup the card and pass the control to the original Orinoco drivers.
{i} '''Status''': {OK} no problem.
= PPPOX support =
Support for PPPOX
{i} '''Status''': {X} No plan -- not in the scope of the project
= Idle Loop =
Although I did not find any references of this on the web, my RG-1000 crashes as soon it enters the idle loop.
I took me a long time to debug this, but the problem can be easily solved by booting with the ''no-hlt'' command-line parameter.
[[Category:RC-1000]]
[http://www.web-craps.com craps]
[http://www.magical-casino.com/casino_rules.html Casino rules.]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.gambling-online-theory.com/casinos/fun-casinos.html fun casinos]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.casinos-go.com/online-casino-tips/free-online-casino-slot.html free online casino slot]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.magical-casino.com/casino_bonus.html Casino Bonus ]
[http://www.slots-wiki.com/index.php/online_slots online slots]
[http://www.magical-casino.com/casino_rules.html Casino rules.]
1448
1416
2006-11-23T09:43:41Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Summary =
We are using [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann's kernel patches] to support the RG-1000.
They have been developed for the Linux 2.2 kernel, and I have ''ported'' them to the 2.4 series.
All the kernel changes are ''protected'' by the '''CONFIG_RC_1000''' ''define'' which is a selectable option of the '''ELAN''' machine type.
These are the main categories of patches:
= Modem Console support =
The only way to have console output is to use the modem port.
<br />This set of patches ensure that all console output is re-directed to the modem port.
Of course, the ''serial console'' need to be selected during the kernel build.
{i} '''Status''': {OK} no problem.
= RG-1000 LED's handling =
Driver to handle the RG-1000 LED's.
<br />It is used by the other drivers, and provide a fancy user-mode interface through devices. Device ''major'' is '''100'''; ''minors'' are in the table below.
As opposed to the Airport, the RG-1000 has 8 LED's.
http://reseaucitoyen.be/albums/rg1000/aaf.sized.jpg
From top to bottom, we have:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|Description (Original usage of the LEDs)||Symbol ||Minor Green||Minor Red
|-
|Power ||o- ||0 ||1
|-
|Wireless ||~ ||2 ||3
|-
|Ethernet ||o---o ||4 ||5
|-
|Modem || |---| ||6 ||7
|}
{i} '''Status''': {OK} no problem.
= LAN support =
Driver to handle the network chip
Minor patches to ''driver/net/lance.c''
{i} '''Status''': {OK} no problem.
= WLAN support =
Driver to handle wireless card
This is a bit more complex: the RG-1000 as a PCMCIA bridge which is compatible with a i82365. But we do not want to load the whole PCMCIA/cardmgr stuff.
So we have an additional driver -- ''driver/net/wireless/orinoco_rc1000.c'' -- which works like the PLX support (''orinoco_plx.c''): we initialize the PCMCIA bridge, setup the card and pass the control to the original Orinoco drivers.
{i} '''Status''': {OK} no problem.
= PPPOX support =
Support for PPPOX
{i} '''Status''': {X} No plan -- not in the scope of the project
= Idle Loop =
Although I did not find any references of this on the web, my RG-1000 crashes as soon it enters the idle loop.
I took me a long time to debug this, but the problem can be easily solved by booting with the ''no-hlt'' command-line parameter.
[[Category:RC-1000]]
Current events
0
1328
1417
1386
2006-11-20T11:20:29Z
Fraseyboy
2
wikitext
text/x-wiki
; Octobre 2005
: I have been busy with all this for a long time... <br />It represent a lot of hours and a lot of nights... <br />Over the last couple of months I have to say I have lost my motivation around these projects. Time to reassess priorities, time for new projects! <br />I do not plan to work on this in the near future, but it remains of course available for everybody!
; Octobre 2005
: Some experiments with [[Bering-uClibc]]
; Septembre 2005
: Migration to MediaWiki
[http://www.casinos-new.com/poker.html Online casino - Poker in casino]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.fortune-slots.com/ online slots]
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
[http://www.casino-theory.com/online-casino-bonus/index.html online casino bonus]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.casinos-new.com/internet-casino.html Online casino - Internet Casinos]
[http://www.magical-casino.com/casino_download.html Casino Downloading Action.]
[http://www.slots-wiki.com/index.php/slots_online_bonus slots online bonus]
1447
1417
2006-11-23T09:43:39Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
; Octobre 2005
: I have been busy with all this for a long time... <br />It represent a lot of hours and a lot of nights... <br />Over the last couple of months I have to say I have lost my motivation around these projects. Time to reassess priorities, time for new projects! <br />I do not plan to work on this in the near future, but it remains of course available for everybody!
; Octobre 2005
: Some experiments with [[Bering-uClibc]]
; Septembre 2005
: Migration to MediaWiki
Routing and firewall
0
1294
1418
1331
2006-11-20T12:59:21Z
Fraseyboy
2
wikitext
text/x-wiki
{{Outdated}}
= Rules =
http://bulles.topgame.be/ReseauCitoyen/bubble_01.png
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
||| ||||||||To
|-
||| ||Node||10.0.0.0/8 subnet (AODV)||172.1x.xx.x0/28 (DHCP)||Wired interface
|-
|<|4>From||Node||||||||bgcolor="#ddffdd"|No restriction
|-
|10.0.0.0/8 subnet (AODV)||bgcolor="#ddffdd"|ICMP/SSH/HTTP||bgcolor="#ddffdd"|No restriction||bgcolor="#ffddff"|Blocked||bgcolor="#ffddff"|Blocked by default (Access can be given with additional rules)
|-
|172.1x.xx.x0/28 (DHCP)||bgcolor="#ddffdd"|ICMP/SSH/HTTP||bgcolor="#ddffdd"|No restriction (Masquerade)||bgcolor="#ffcc99"|N/A||bgcolor="#ffddff"|Blocked by default (Access can be given with additional rules)
|-
|Wired interface||bgcolor="#ddffdd"|No restriction||||bgcolor="#ddffdd"|No restriction (Masquerade)||bgcolor="#ffcc99"|N/A
|}
= [[DiskLess]] =
Notes about the testing done on the [[DiskLess]] scripts ([http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/[[DiskLess]]/add-ons/sources/bulles_skeleton/etc/init.d/rc.firewall.sh?rev=HEAD&content-type=text/vnd.viewcvs-markup View Script])
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
||| ||||||||To
|-
||| ||Node||10.0.0.0/8 subnet (AODV)||172.1x.xx.x0/28 (DHCP)||Wired interface
|-
|rowspan="4"|From||Node||||||||bgcolor="#ddffdd"|OK
|-
|10.0.0.0/8 subnet (AODV)||bgcolor="#ddffdd"|OK (AODV works as expected)||bgcolor="#ff5555"|Not tested||bgcolor="#ff5555"|Not tested||bgcolor="#ffddff"|OK (Also tested when the gateways is 'open'; additional FORWARD rule:"$IPTABLES -I FORWARD -i $WIFI_IF -o $LAN_IF -m mac --mac-source 00:02:2D:29:91:6B -j ACCEPT" -- not masqueraded)
|-
|172.1x.xx.x0/28 (DHCP)||bgcolor="#ddffdd"|OK (DHCP Allocates address as expected)<br />fixed in [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/DiskLess/add-ons/sources/bulles_skeleton/etc/init.d/rc.firewall.sh?rev=HEAD&content-type=text/vnd.viewcvs-markup rc.firewall.sh 1.5]||bgcolor="#ff5555"|Not tested||bgcolor="#ffcc99"|N/A||bgcolor="#ffddff"|OK (Same as above)
|-
|Wired interface||bgcolor="#ddffdd"|OK||||bgcolor="#ddffdd"|OK (Masquerade works)||bgcolor="#ffcc99"|N/A
|}
[[Category:Bubble]]
[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash]
[http://www.gambling-online-theory.com/casinos/fun-casinos.html fun casinos]
[http://www.slots-wiki.com/index.php/online_slots online slots]
[http://www.fortune-slots.com/ online slots]
[http://www.slots-wiki.com/index.php/slots_online_bonus slots online bonus]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
[http://www.magical-casino.com/choosing_casino.html Online Casino - Choosing the best casinos.]
[http://www.casino-theory.com/online-casino-bonus/free-online-casino-tournament.html free online casino tournament]
[http://www.casinos-go.com/online-casino-tips/index.html online casino tips]
[http://www.gambling-online-theory.com/casinos/casinos-strategy.html casinos strategy]
1446
1418
2006-11-23T09:43:35Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
{{Outdated}}
= Rules =
http://bulles.topgame.be/ReseauCitoyen/bubble_01.png
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
||| ||||||||To
|-
||| ||Node||10.0.0.0/8 subnet (AODV)||172.1x.xx.x0/28 (DHCP)||Wired interface
|-
|<|4>From||Node||||||||bgcolor="#ddffdd"|No restriction
|-
|10.0.0.0/8 subnet (AODV)||bgcolor="#ddffdd"|ICMP/SSH/HTTP||bgcolor="#ddffdd"|No restriction||bgcolor="#ffddff"|Blocked||bgcolor="#ffddff"|Blocked by default (Access can be given with additional rules)
|-
|172.1x.xx.x0/28 (DHCP)||bgcolor="#ddffdd"|ICMP/SSH/HTTP||bgcolor="#ddffdd"|No restriction (Masquerade)||bgcolor="#ffcc99"|N/A||bgcolor="#ffddff"|Blocked by default (Access can be given with additional rules)
|-
|Wired interface||bgcolor="#ddffdd"|No restriction||||bgcolor="#ddffdd"|No restriction (Masquerade)||bgcolor="#ffcc99"|N/A
|}
= [[DiskLess]] =
Notes about the testing done on the [[DiskLess]] scripts ([http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/[[DiskLess]]/add-ons/sources/bulles_skeleton/etc/init.d/rc.firewall.sh?rev=HEAD&content-type=text/vnd.viewcvs-markup View Script])
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
||| ||||||||To
|-
||| ||Node||10.0.0.0/8 subnet (AODV)||172.1x.xx.x0/28 (DHCP)||Wired interface
|-
|rowspan="4"|From||Node||||||||bgcolor="#ddffdd"|OK
|-
|10.0.0.0/8 subnet (AODV)||bgcolor="#ddffdd"|OK (AODV works as expected)||bgcolor="#ff5555"|Not tested||bgcolor="#ff5555"|Not tested||bgcolor="#ffddff"|OK (Also tested when the gateways is 'open'; additional FORWARD rule:"$IPTABLES -I FORWARD -i $WIFI_IF -o $LAN_IF -m mac --mac-source 00:02:2D:29:91:6B -j ACCEPT" -- not masqueraded)
|-
|172.1x.xx.x0/28 (DHCP)||bgcolor="#ddffdd"|OK (DHCP Allocates address as expected)<br />fixed in [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/DiskLess/add-ons/sources/bulles_skeleton/etc/init.d/rc.firewall.sh?rev=HEAD&content-type=text/vnd.viewcvs-markup rc.firewall.sh 1.5]||bgcolor="#ff5555"|Not tested||bgcolor="#ffcc99"|N/A||bgcolor="#ffddff"|OK (Same as above)
|-
|Wired interface||bgcolor="#ddffdd"|OK||||bgcolor="#ddffdd"|OK (Masquerade works)||bgcolor="#ffcc99"|N/A
|}
[[Category:Bubble]]
Network boot
0
1292
1419
1297
2006-11-20T15:32:52Z
Fraseyboy
2
wikitext
text/x-wiki
{{Outdated}}
= Booting from the Network =
Booting from the Network is not always trivial.
There should be no problem when:
* Your computer BIOS supports [[Network boot]] directly through DHCP/BootP (older systems);
* Your computer BIOS supports [[Network boot]] directly through PXE boot (most recent computers);
* You have a network card with a ''boot ROM'' that can boot through one of the above methods.
If this is not your case, keep reading! [http://www.etherboot.org/ Etherboot] will allow you to boot from the network using BootP/DHCP/PXE on virtually any computer.
With [http://www.etherboot.org/ Etherboot] you can:
* Generate the code needed by a ''boot ROM'' for your network card (Nice, but you probably do not have the hardware to flash EPROMSs, so read on ;) )
* Add a ''module'' in your BIOS to support network booting (I have done this, it is working very well, but playing with the BIOS is still a risky operation)
* Last but not least, if you have a a boot device attached to your computer (a floppy drive or a CD-ROM), you can generate a boot disk.
Note that you do not have to install the [http://www.etherboot.org/ Etherboot] software to generate a boot image, you can use the excellent [http://rom-o-matic.net/ ROM-o-matic] to generate images online.
= Bubble =
Here are the key Bubble parameters when you want to boot from the network:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Section'''||'''Parameter'''||'''Value'''||'''Description'''
|-
|[image]||type||etherboot|pxe||Image type will be [http://www.etherboot.org/ Etherboot] or [http://syslinux.zytor.com/pxe.php PXELinux]
|-
|[image]||net_module.list||e.g. 3c59x||The module(s) you need to get your network up (including module parameters)
|}
For pre-build images, we need unfortunately one image per network card type!
<br />A selection of popular cards is available on BubbleImage:core-images. If your card is not not in the list, contact me for inclusion.
= DHCP Server =
We will need a BootP/DHCP server on the local network
Here is an example which show how to configure ISC dhcpd 3.0:
# Etherboot Client Example
host wifi-nc {
hardware ethernet 00:00:e8:42:8c:1e; # Mac address of the node
fixed-address wifi-nc.bulles-dsl; # Assigned IP (DNS will resolve the name)
server-name "bulles-nc.bulles-dsl"; # Name of the DHCP server
option tftp-server-name "amedee"; # Name of the TFTP server (can be another host as shown here)
next-server amedee.bulles-dsl; # Address of the TFTP server
filename "/root_fs.etherboot"; # Name of the boot image (generated by Bubble -- mknbi format)
}
# PXE boot Client Example:
host pvanhaes {
hardware ethernet 00:00:39:be:c6:87; # Everything is identical...
fixed-address pvanhaes.bulles-dsl;
server-name "bulles-nc.bulles-dsl";
option tftp-server-name "amedee";
next-server amedee.bulles-dsl;
filename "/pxelinux.0"; # But we load instead the generic boot file from PXELinux
# The PXE configuration file and the images are generated by Bubble
}
= TFTP =
Once the IP address has been allocated by BootP/DHCP, the kernel image and the root filesystem are loaded using TFTP.
/!\ If your node is using the PXE protocol, be aware that [http://syslinux.zytor.com/pxe.php PXELinux] needs some TFTP features that are not available on all servers (''tsize'' option).
<br />We strongly recommend the use of the ''tftp-hpa'' server.
<br />Debian: ''apt-get install tftpd-hpa''
Configuring TFTP is very simple. You just need:
`tftp dgram udp wait root /usr/sbin/in.tftpd tftpd -v -s /tftpboot`
in /etc/inetd.conf (/tftpboot is the directory which will contains the boot images).
= Other files =
Once the [[Linux kernel]] has been loaded, the ''core'' system will need to access the [[Bubble configuration file]] and the files containing the different packages.
To allow several nodes on sharing the same code, but with different configurations, the [[Bubble configuration file]] is searched a subdirectory (relative to the kernel) with the same name as its own IP in hexadecimal.
<br />If the [[Bubble configuration file]] is not shown there, the path is shorten by 1 digit
<br />To make it clear, here is what happens:
Sep 16 21:49:47 bulles-nc tftpd[22760]: RRQ from 192.168.1.24 filename /bubble.etherboot
Sep 16 21:49:53 bulles-nc tftpd[22761]: RRQ from 192.168.1.24 filename /C0A80118/bubble.cfg
Sep 16 21:49:53 bulles-nc tftpd[22762]: RRQ from 192.168.1.24 filename /C0A8011/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22763]: RRQ from 192.168.1.24 filename /C0A801/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22764]: RRQ from 192.168.1.24 filename /C0A80/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22765]: RRQ from 192.168.1.24 filename /C0A8/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22766]: RRQ from 192.168.1.24 filename /C0A/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22767]: RRQ from 192.168.1.24 filename /C0/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22768]: RRQ from 192.168.1.24 filename /C/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22769]: RRQ from 192.168.1.24 filename //bubble.cfg
The [http://www.etherboot.org/ Etherboot] image is loaded, then the [[Bubble configuration file]] is searched, prepending !C0A80118 (192.168.1.24 in hexadecimal) to the path, shortening until the file is found.
<br />(I took the idea from PXELinux which is doing something very similar...)
All the other files (the packages) are looked in the directory of the initial image, allowing packages to be shared.
Package location can be orverwritten in the [[Bubble configuration file]].
[[Category:Bubble]]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.slots-wiki.com/index.php/slots slots]
[http://www.fortune-slots.com/ online slots]
[http://www.magical-casino.com/security.html Casinos security online.]
[http://www.casinos-go.com/online-casino-tips/free-online-casino-slot.html free online casino slot]
[http://www.web-craps.com craps]
[http://www.magical-casino.com/casino_download.html Casino Downloading Action.]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
1430
1419
2006-11-21T18:54:49Z
Fraseyboy
2
wikitext
text/x-wiki
{{Outdated}}
= Booting from the Network =
Booting from the Network is not always trivial.
There should be no problem when:
* Your computer BIOS supports [[Network boot]] directly through DHCP/BootP (older systems);
* Your computer BIOS supports [[Network boot]] directly through PXE boot (most recent computers);
* You have a network card with a ''boot ROM'' that can boot through one of the above methods.
If this is not your case, keep reading! [http://www.etherboot.org/ Etherboot] will allow you to boot from the network using BootP/DHCP/PXE on virtually any computer.
With [http://www.etherboot.org/ Etherboot] you can:
* Generate the code needed by a ''boot ROM'' for your network card (Nice, but you probably do not have the hardware to flash EPROMSs, so read on ;) )
* Add a ''module'' in your BIOS to support network booting (I have done this, it is working very well, but playing with the BIOS is still a risky operation)
* Last but not least, if you have a a boot device attached to your computer (a floppy drive or a CD-ROM), you can generate a boot disk.
Note that you do not have to install the [http://www.etherboot.org/ Etherboot] software to generate a boot image, you can use the excellent [http://rom-o-matic.net/ ROM-o-matic] to generate images online.
= Bubble =
Here are the key Bubble parameters when you want to boot from the network:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Section'''||'''Parameter'''||'''Value'''||'''Description'''
|-
|[image]||type||etherboot|pxe||Image type will be [http://www.etherboot.org/ Etherboot] or [http://syslinux.zytor.com/pxe.php PXELinux]
|-
|[image]||net_module.list||e.g. 3c59x||The module(s) you need to get your network up (including module parameters)
|}
For pre-build images, we need unfortunately one image per network card type!
<br />A selection of popular cards is available on BubbleImage:core-images. If your card is not not in the list, contact me for inclusion.
= DHCP Server =
We will need a BootP/DHCP server on the local network
Here is an example which show how to configure ISC dhcpd 3.0:
# Etherboot Client Example
host wifi-nc {
hardware ethernet 00:00:e8:42:8c:1e; # Mac address of the node
fixed-address wifi-nc.bulles-dsl; # Assigned IP (DNS will resolve the name)
server-name "bulles-nc.bulles-dsl"; # Name of the DHCP server
option tftp-server-name "amedee"; # Name of the TFTP server (can be another host as shown here)
next-server amedee.bulles-dsl; # Address of the TFTP server
filename "/root_fs.etherboot"; # Name of the boot image (generated by Bubble -- mknbi format)
}
# PXE boot Client Example:
host pvanhaes {
hardware ethernet 00:00:39:be:c6:87; # Everything is identical...
fixed-address pvanhaes.bulles-dsl;
server-name "bulles-nc.bulles-dsl";
option tftp-server-name "amedee";
next-server amedee.bulles-dsl;
filename "/pxelinux.0"; # But we load instead the generic boot file from PXELinux
# The PXE configuration file and the images are generated by Bubble
}
= TFTP =
Once the IP address has been allocated by BootP/DHCP, the kernel image and the root filesystem are loaded using TFTP.
/!\ If your node is using the PXE protocol, be aware that [http://syslinux.zytor.com/pxe.php PXELinux] needs some TFTP features that are not available on all servers (''tsize'' option).
<br />We strongly recommend the use of the ''tftp-hpa'' server.
<br />Debian: ''apt-get install tftpd-hpa''
Configuring TFTP is very simple. You just need:
`tftp dgram udp wait root /usr/sbin/in.tftpd tftpd -v -s /tftpboot`
in /etc/inetd.conf (/tftpboot is the directory which will contains the boot images).
= Other files =
Once the [[Linux kernel]] has been loaded, the ''core'' system will need to access the [[Bubble configuration file]] and the files containing the different packages.
To allow several nodes on sharing the same code, but with different configurations, the [[Bubble configuration file]] is searched a subdirectory (relative to the kernel) with the same name as its own IP in hexadecimal.
<br />If the [[Bubble configuration file]] is not shown there, the path is shorten by 1 digit
<br />To make it clear, here is what happens:
Sep 16 21:49:47 bulles-nc tftpd[22760]: RRQ from 192.168.1.24 filename /bubble.etherboot
Sep 16 21:49:53 bulles-nc tftpd[22761]: RRQ from 192.168.1.24 filename /C0A80118/bubble.cfg
Sep 16 21:49:53 bulles-nc tftpd[22762]: RRQ from 192.168.1.24 filename /C0A8011/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22763]: RRQ from 192.168.1.24 filename /C0A801/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22764]: RRQ from 192.168.1.24 filename /C0A80/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22765]: RRQ from 192.168.1.24 filename /C0A8/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22766]: RRQ from 192.168.1.24 filename /C0A/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22767]: RRQ from 192.168.1.24 filename /C0/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22768]: RRQ from 192.168.1.24 filename /C/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22769]: RRQ from 192.168.1.24 filename //bubble.cfg
The [http://www.etherboot.org/ Etherboot] image is loaded, then the [[Bubble configuration file]] is searched, prepending !C0A80118 (192.168.1.24 in hexadecimal) to the path, shortening until the file is found.
<br />(I took the idea from PXELinux which is doing something very similar...)
All the other files (the packages) are looked in the directory of the initial image, allowing packages to be shared.
Package location can be orverwritten in the [[Bubble configuration file]].
[[Category:Bubble]]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.slots-wiki.com/index.php/slots slots]
[http://www.fortune-slots.com/ online slots]
[http://www.magical-casino.com/security.html Casinos security online.]
[http://www.casinos-go.com/online-casino-tips/free-online-casino-slot.html free online casino slot]
[http://www.web-craps.com craps]
[http://www.magical-casino.com/casino_download.html Casino Downloading Action.]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.slots-wiki.com/index.php/slots_online slots online]
[http://www.casinos-go.com/online-casino-tips/free-online-casino-slot.html free online casino slot]
[http://www.gambling-online-theory.com/casinos/casinos-strategy.html casinos strategy]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.fortune-slots.com/ online slots]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.casino-games-wiki.com/index.php/on_line_casino_games on line casino games]
1435
1430
2006-11-23T09:42:22Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
{{Outdated}}
= Booting from the Network =
Booting from the Network is not always trivial.
There should be no problem when:
* Your computer BIOS supports [[Network boot]] directly through DHCP/BootP (older systems);
* Your computer BIOS supports [[Network boot]] directly through PXE boot (most recent computers);
* You have a network card with a ''boot ROM'' that can boot through one of the above methods.
If this is not your case, keep reading! [http://www.etherboot.org/ Etherboot] will allow you to boot from the network using BootP/DHCP/PXE on virtually any computer.
With [http://www.etherboot.org/ Etherboot] you can:
* Generate the code needed by a ''boot ROM'' for your network card (Nice, but you probably do not have the hardware to flash EPROMSs, so read on ;) )
* Add a ''module'' in your BIOS to support network booting (I have done this, it is working very well, but playing with the BIOS is still a risky operation)
* Last but not least, if you have a a boot device attached to your computer (a floppy drive or a CD-ROM), you can generate a boot disk.
Note that you do not have to install the [http://www.etherboot.org/ Etherboot] software to generate a boot image, you can use the excellent [http://rom-o-matic.net/ ROM-o-matic] to generate images online.
= Bubble =
Here are the key Bubble parameters when you want to boot from the network:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Section'''||'''Parameter'''||'''Value'''||'''Description'''
|-
|[image]||type||etherboot|pxe||Image type will be [http://www.etherboot.org/ Etherboot] or [http://syslinux.zytor.com/pxe.php PXELinux]
|-
|[image]||net_module.list||e.g. 3c59x||The module(s) you need to get your network up (including module parameters)
|}
For pre-build images, we need unfortunately one image per network card type!
<br />A selection of popular cards is available on BubbleImage:core-images. If your card is not not in the list, contact me for inclusion.
= DHCP Server =
We will need a BootP/DHCP server on the local network
Here is an example which show how to configure ISC dhcpd 3.0:
# Etherboot Client Example
host wifi-nc {
hardware ethernet 00:00:e8:42:8c:1e; # Mac address of the node
fixed-address wifi-nc.bulles-dsl; # Assigned IP (DNS will resolve the name)
server-name "bulles-nc.bulles-dsl"; # Name of the DHCP server
option tftp-server-name "amedee"; # Name of the TFTP server (can be another host as shown here)
next-server amedee.bulles-dsl; # Address of the TFTP server
filename "/root_fs.etherboot"; # Name of the boot image (generated by Bubble -- mknbi format)
}
# PXE boot Client Example:
host pvanhaes {
hardware ethernet 00:00:39:be:c6:87; # Everything is identical...
fixed-address pvanhaes.bulles-dsl;
server-name "bulles-nc.bulles-dsl";
option tftp-server-name "amedee";
next-server amedee.bulles-dsl;
filename "/pxelinux.0"; # But we load instead the generic boot file from PXELinux
# The PXE configuration file and the images are generated by Bubble
}
= TFTP =
Once the IP address has been allocated by BootP/DHCP, the kernel image and the root filesystem are loaded using TFTP.
/!\ If your node is using the PXE protocol, be aware that [http://syslinux.zytor.com/pxe.php PXELinux] needs some TFTP features that are not available on all servers (''tsize'' option).
<br />We strongly recommend the use of the ''tftp-hpa'' server.
<br />Debian: ''apt-get install tftpd-hpa''
Configuring TFTP is very simple. You just need:
`tftp dgram udp wait root /usr/sbin/in.tftpd tftpd -v -s /tftpboot`
in /etc/inetd.conf (/tftpboot is the directory which will contains the boot images).
= Other files =
Once the [[Linux kernel]] has been loaded, the ''core'' system will need to access the [[Bubble configuration file]] and the files containing the different packages.
To allow several nodes on sharing the same code, but with different configurations, the [[Bubble configuration file]] is searched a subdirectory (relative to the kernel) with the same name as its own IP in hexadecimal.
<br />If the [[Bubble configuration file]] is not shown there, the path is shorten by 1 digit
<br />To make it clear, here is what happens:
Sep 16 21:49:47 bulles-nc tftpd[22760]: RRQ from 192.168.1.24 filename /bubble.etherboot
Sep 16 21:49:53 bulles-nc tftpd[22761]: RRQ from 192.168.1.24 filename /C0A80118/bubble.cfg
Sep 16 21:49:53 bulles-nc tftpd[22762]: RRQ from 192.168.1.24 filename /C0A8011/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22763]: RRQ from 192.168.1.24 filename /C0A801/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22764]: RRQ from 192.168.1.24 filename /C0A80/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22765]: RRQ from 192.168.1.24 filename /C0A8/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22766]: RRQ from 192.168.1.24 filename /C0A/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22767]: RRQ from 192.168.1.24 filename /C0/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22768]: RRQ from 192.168.1.24 filename /C/bubble.cfg
Sep 16 21:49:54 bulles-nc tftpd[22769]: RRQ from 192.168.1.24 filename //bubble.cfg
The [http://www.etherboot.org/ Etherboot] image is loaded, then the [[Bubble configuration file]] is searched, prepending !C0A80118 (192.168.1.24 in hexadecimal) to the path, shortening until the file is found.
<br />(I took the idea from PXELinux which is doing something very similar...)
All the other files (the packages) are looked in the directory of the initial image, allowing packages to be shared.
Package location can be orverwritten in the [[Bubble configuration file]].
[[Category:Bubble]]
Category:Opération Panik
14
1302
1420
1399
2006-11-20T18:53:10Z
Fraseyboy
2
wikitext
text/x-wiki
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
[http://www.casinos-new.com/internet-casino.html Online casino - Internet Casinos]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.bestweb-online-casinos.com/best-online-casino/online-casino-free-game.html online casino free game]
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.magical-casino.com/no_deposit.html Casinos with no deposit required.]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.magical-casino.com/choosing_casino.html Online Casino - Choosing the best casinos.]
[http://www.web-craps.com craps]
[http://www.magical-casino.com/online_games.html Online casino games.]
[http://www.casinos-new.com/poker.html Online casino - Poker in casino]
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
[http://www.casinos-go.com/online-casino-tips/index.html online casino tips]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.casinos-go.com/online-casino-tips/online-casino-games.html online casino games]
[http://www.slots-wiki.com/index.php/slots_tips slots tips]
[http://www.gambling-online-theory.com/online-casino/bet-online-casino.html bet online casino]
[http://www.gambling-online-theory.com/casinos-portal/best-casinos-online.html best casinos online]
1445
1420
2006-11-23T09:43:06Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Bubble overview
0
1282
1421
1284
2006-11-21T01:05:51Z
Fraseyboy
2
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Motivation =
There is already a lot of good stuff available today, so why do we need an additional distribution?
The main vector of motivation was to be able to build a '''cheap''' node for [http://www.reseaucitoyen.be RéseauCitoyen], that is on top of depreciated hardware that some companies are throwing away these days.
In a pure economical context, re-using old hardware can be more expensive as buying a new one, since the setup takes time and man-days are (very) expensive!
On the other hand, from an hobbyist standpoint, your free time does not cost anything, so refurbishing an old hardware that you get for nothing is very attractive.
The costs will then be limited to a Wireless card and a self-made antenna, so I do believe we can build a node for less than '''50 Euros'''.
= The Big Picture =
'''Note''': All these pictures are a bit obsolote in the sense that the ''alias'' on the wireless interface is a trick to allow non-linux clients to join the network when the routing is done with [http://w3.antd.nist.gov/wctg/aodv_kernel/ Kernel AODV]. This feature is deprecated since:
* I am not using [http://w3.antd.nist.gov/wctg/aodv_kernel/ Kernel AODV] anymore <br />We had stability issues during real-life tests in 2004. Since most of the protocol resides in kernel, it seriously impact the stability of the whole system.
* It does not work with [http://core.it.uu.se/AdHoc/AodvUUImpl AODV-UU] which takes control of the whole interface
* It is less relevant with OLSR as this protocol is widely available.
== Fully configured node ==
http://bulles.topgame.be/ReseauCitoyen/bubble_01.png
The above figure illustrates a fully configured Bubble node.
All parts are optional and configuration is flexible
Typical applications:
* [http://www.reseaucitoyen.be RéseauCitoyen] relay;
* All the computers on the wired Lan get access to [http://www.reseaucitoyen.be RéseauCitoyen];
* Internet bandwidth can be offered to [http://www.reseaucitoyen.be RéseauCitoyen].
== Minimal configuration ==
http://bulles.topgame.be/ReseauCitoyen/bubble_02.png
This is the minimal configuration for the Bubble node. In this configuration, it acts ''only'' as a relay.
<br />Typical applications:
* Standalone [http://www.reseaucitoyen.be RéseauCitoyen] relay to drop on the top of a building;
* ''Personal relay'': the Bubble node is located in a place where he can ''see'' other nodes, and acts as a relay for home computers with a (cheap) wireless card.
== Classic configuration ==
http://bulles.topgame.be/ReseauCitoyen/bubble_03.png
The node is linked to a user workstation using a LAN cable.
* [http://www.reseaucitoyen.be RéseauCitoyen] relay;
* ''Personal relay'': the Bubble node is located in a place where he can ''see'' other nodes, and acts as a relay for home computer connected with a simple network cable.
= Key features =
* Run on virtually any Intel-based PC
* Runs in 16MB memory
* Ram disk based.<br />No hard-disk need -- boots from a floppy, a CD-ROM, a CF-Card or from the network
* Modular distribution -- depending on the available additional packages can be installed (ssh, ...)
= DiskLess Vs. Bubble =
What's the difference between [[DiskLess]] and [[Bubble]]?
At runtime there is almost no difference, the packages available for [[Bubble]] arejust more current.
<br />The main difference is in the build process. For [[DiskLess]], you have to know the node hardware at compile time. Build and runtime parameters are mixed. [[Bubble]] uses a pre-build environement and is therefore much more flexible.
[[Category:Bubble]]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.gambling-online-theory.com/casinos/fun-casinos.html fun casinos]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.magical-casino.com/casino_games.html Casino games.]
[http://www.bestweb-online-casinos.com/slots-game/diamond-club-slots.html diamond club slots]
[http://www.gambling-online-theory.com/online-casino/bet-online-casino.html bet online casino]
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
1444
1421
2006-11-23T09:43:03Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Motivation =
There is already a lot of good stuff available today, so why do we need an additional distribution?
The main vector of motivation was to be able to build a '''cheap''' node for [http://www.reseaucitoyen.be RéseauCitoyen], that is on top of depreciated hardware that some companies are throwing away these days.
In a pure economical context, re-using old hardware can be more expensive as buying a new one, since the setup takes time and man-days are (very) expensive!
On the other hand, from an hobbyist standpoint, your free time does not cost anything, so refurbishing an old hardware that you get for nothing is very attractive.
The costs will then be limited to a Wireless card and a self-made antenna, so I do believe we can build a node for less than '''50 Euros'''.
= The Big Picture =
'''Note''': All these pictures are a bit obsolote in the sense that the ''alias'' on the wireless interface is a trick to allow non-linux clients to join the network when the routing is done with [http://w3.antd.nist.gov/wctg/aodv_kernel/ Kernel AODV]. This feature is deprecated since:
* I am not using [http://w3.antd.nist.gov/wctg/aodv_kernel/ Kernel AODV] anymore <br />We had stability issues during real-life tests in 2004. Since most of the protocol resides in kernel, it seriously impact the stability of the whole system.
* It does not work with [http://core.it.uu.se/AdHoc/AodvUUImpl AODV-UU] which takes control of the whole interface
* It is less relevant with OLSR as this protocol is widely available.
== Fully configured node ==
http://bulles.topgame.be/ReseauCitoyen/bubble_01.png
The above figure illustrates a fully configured Bubble node.
All parts are optional and configuration is flexible
Typical applications:
* [http://www.reseaucitoyen.be RéseauCitoyen] relay;
* All the computers on the wired Lan get access to [http://www.reseaucitoyen.be RéseauCitoyen];
* Internet bandwidth can be offered to [http://www.reseaucitoyen.be RéseauCitoyen].
== Minimal configuration ==
http://bulles.topgame.be/ReseauCitoyen/bubble_02.png
This is the minimal configuration for the Bubble node. In this configuration, it acts ''only'' as a relay.
<br />Typical applications:
* Standalone [http://www.reseaucitoyen.be RéseauCitoyen] relay to drop on the top of a building;
* ''Personal relay'': the Bubble node is located in a place where he can ''see'' other nodes, and acts as a relay for home computers with a (cheap) wireless card.
== Classic configuration ==
http://bulles.topgame.be/ReseauCitoyen/bubble_03.png
The node is linked to a user workstation using a LAN cable.
* [http://www.reseaucitoyen.be RéseauCitoyen] relay;
* ''Personal relay'': the Bubble node is located in a place where he can ''see'' other nodes, and acts as a relay for home computer connected with a simple network cable.
= Key features =
* Run on virtually any Intel-based PC
* Runs in 16MB memory
* Ram disk based.<br />No hard-disk need -- boots from a floppy, a CD-ROM, a CF-Card or from the network
* Modular distribution -- depending on the available additional packages can be installed (ssh, ...)
= DiskLess Vs. Bubble =
What's the difference between [[DiskLess]] and [[Bubble]]?
At runtime there is almost no difference, the packages available for [[Bubble]] arejust more current.
<br />The main difference is in the build process. For [[DiskLess]], you have to know the node hardware at compile time. Build and runtime parameters are mixed. [[Bubble]] uses a pre-build environement and is therefore much more flexible.
[[Category:Bubble]]
DiskLess
0
1281
1422
1282
2006-11-21T01:20:11Z
Fraseyboy
2
wikitext
text/x-wiki
= Description =
See the description on ReseauCitoyen: [[RC:DiskLess ]]
= Install Instructions =
From the INSTALL.bulles file:
Diskless distribution based on uClibc buildroot
===============================================
$Id: INSTALL.bulles,v 1.2 2003/05/10 14:19:00 pvanhaes Exp $
Philippe.Vanhaesendonck@topgame.be
Background
----------
The objective of this distrubution is to be able to run a Wireless node on a
diskless computer.
The configuration will be typically:
LocalLan <---> Node <---> WirelessLan
The kernel & disk image is booted from the LocalLan, the default firewall setup
does not forward anything from the WirelessLan to the LocalLan
Alternatively, you can build a bootbale CD-ROM or a CF-Card image.
In that case, you do not need a NIC for the LocalLan
Access to the node is done via ssh
The WirelessLan can be a WireLess device or a NIC connected to a wireless
bridge (LinkSys Wet11)
The kernel is compiled with most of the network drivers as modules. If space is
an issue, just keep the ones you need!
The distribution does not attempt to access any local disk, so it can be
easily tested on any computer.
Pre-requisites on the Build system
----------------------------------
* mknbi for etherboot images
apt-get install mknbi
* syslinux for PXE boot loaders, ISOLinux CD-ROM or SysLinux images
apt-get install syslinux
* wget for the buildroot
apt-get install wget
* Disk space needed for the build: 800MB
Pre-requisites on the LocalLan (Only for NetBoot)
------------------------------
(Can be on the Build System)
* dhcp (or bootp) configured for network boot
* tftpd (HPA's tftp server recommended for PXE boots)
apt-get install tftpd-hpa
Pre-requisites for the node
---------------------------
* 16 MB RAM
* One NIC/Wireless for the WireLess Lan
If we need to NetBoot:
* One NIC for the LocalLan
* NetBoot enabled -- several possibilities:
- LocalLan NIC can NetBoot
- BIOS can NetBoot
- Use a floppy to NetBoot (!)
Install
-------
!You do not and sould not be root to build this distribution!
The distribution need to know at least which network interfaces needs to be
configured.
* copy bulles.cfg.distr to bulles.cfg and review it ;-)
If you want to add additional files/scrits, the directory tree under
sources/local_skeleton
will be copied to your iamge.
This directory is not touched during upgrades.
Make all the stuff, and go for a beer:
$ make
After some time you should get the kernel and root filesystem
Post-Install
------------
Once your system is running, you can:
* Generate ssh keys
# ssh-keygen -f /etc/ssh_host_rsa_key -N '' -t rsa
# ssh-keygen -f /etc/ssh_host_dsa_key -N '' -t dsa
Once this is done, transfer the file to your build system to make them
'permanent' -- e.g.:
# scp /etc/ssh_host_* <user>@<host>:<buildroot>/sources/local_skeleton/etc
Re-building an image
--------------------
If you make changes to the 'skeletons' and want to re-build the image:
$ make rootclean && make
Packages Installed
------------------
Linux 2.4.20 with wireless patches
Busybox 0.61-pre
uClibc 0.9.19
zlib 1.1.4 (ssh)
openssl 0.9.7a (ssh)
openssh 3.5p1
iptables 1.2.8
kernel-aodv 2.0.1
pcmcia-cs 3.2.3
wireless_tools 26
Todo
----
radvd for IPV6
History
-------
10-May-2003 Moved all the specifics to config file...
27-Apr-2003 Improved config file
iptables 1.2.8 (GFR)
22-Apr-2003 Support for bootables CD
21-Apr-2003 First public release
= CVS Access =
The latest stable realease is [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/DiskLess/?root=Development&only_with_tag=rc-1-1 rc-1-1]
The [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/DiskLess/ latest development release] now supports AODV and non-AODV clients at the same time (see [[Routing and firewall]])
[[Category:Bubble]]
[http://www.fortune-slots.com/ slots online]
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
[http://www.casino-theory.com/online-casino-bonus/free-online-casino-tournament.html free online casino tournament]
[http://www.casino-games-wiki.com/index.php/play_casino_games_game play casino games game]
[http://www.gambling-online-theory.com/casinos/strategy-casinos.html strategy casinos]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.slots-wiki.com/index.php/online_slots online slots]
[http://www.bestweb-online-casinos.com/best-online-casino/online-casino-free-game.html online casino free game]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
1443
1422
2006-11-23T09:43:00Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Description =
See the description on ReseauCitoyen: [[RC:DiskLess ]]
= Install Instructions =
From the INSTALL.bulles file:
Diskless distribution based on uClibc buildroot
===============================================
$Id: INSTALL.bulles,v 1.2 2003/05/10 14:19:00 pvanhaes Exp $
Philippe.Vanhaesendonck@topgame.be
Background
----------
The objective of this distrubution is to be able to run a Wireless node on a
diskless computer.
The configuration will be typically:
LocalLan <---> Node <---> WirelessLan
The kernel & disk image is booted from the LocalLan, the default firewall setup
does not forward anything from the WirelessLan to the LocalLan
Alternatively, you can build a bootbale CD-ROM or a CF-Card image.
In that case, you do not need a NIC for the LocalLan
Access to the node is done via ssh
The WirelessLan can be a WireLess device or a NIC connected to a wireless
bridge (LinkSys Wet11)
The kernel is compiled with most of the network drivers as modules. If space is
an issue, just keep the ones you need!
The distribution does not attempt to access any local disk, so it can be
easily tested on any computer.
Pre-requisites on the Build system
----------------------------------
* mknbi for etherboot images
apt-get install mknbi
* syslinux for PXE boot loaders, ISOLinux CD-ROM or SysLinux images
apt-get install syslinux
* wget for the buildroot
apt-get install wget
* Disk space needed for the build: 800MB
Pre-requisites on the LocalLan (Only for NetBoot)
------------------------------
(Can be on the Build System)
* dhcp (or bootp) configured for network boot
* tftpd (HPA's tftp server recommended for PXE boots)
apt-get install tftpd-hpa
Pre-requisites for the node
---------------------------
* 16 MB RAM
* One NIC/Wireless for the WireLess Lan
If we need to NetBoot:
* One NIC for the LocalLan
* NetBoot enabled -- several possibilities:
- LocalLan NIC can NetBoot
- BIOS can NetBoot
- Use a floppy to NetBoot (!)
Install
-------
!You do not and sould not be root to build this distribution!
The distribution need to know at least which network interfaces needs to be
configured.
* copy bulles.cfg.distr to bulles.cfg and review it ;-)
If you want to add additional files/scrits, the directory tree under
sources/local_skeleton
will be copied to your iamge.
This directory is not touched during upgrades.
Make all the stuff, and go for a beer:
$ make
After some time you should get the kernel and root filesystem
Post-Install
------------
Once your system is running, you can:
* Generate ssh keys
# ssh-keygen -f /etc/ssh_host_rsa_key -N '' -t rsa
# ssh-keygen -f /etc/ssh_host_dsa_key -N '' -t dsa
Once this is done, transfer the file to your build system to make them
'permanent' -- e.g.:
# scp /etc/ssh_host_* <user>@<host>:<buildroot>/sources/local_skeleton/etc
Re-building an image
--------------------
If you make changes to the 'skeletons' and want to re-build the image:
$ make rootclean && make
Packages Installed
------------------
Linux 2.4.20 with wireless patches
Busybox 0.61-pre
uClibc 0.9.19
zlib 1.1.4 (ssh)
openssl 0.9.7a (ssh)
openssh 3.5p1
iptables 1.2.8
kernel-aodv 2.0.1
pcmcia-cs 3.2.3
wireless_tools 26
Todo
----
radvd for IPV6
History
-------
10-May-2003 Moved all the specifics to config file...
27-Apr-2003 Improved config file
iptables 1.2.8 (GFR)
22-Apr-2003 Support for bootables CD
21-Apr-2003 First public release
= CVS Access =
The latest stable realease is [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/DiskLess/?root=Development&only_with_tag=rc-1-1 rc-1-1]
The [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/DiskLess/ latest development release] now supports AODV and non-AODV clients at the same time (see [[Routing and firewall]])
[[Category:Bubble]]
Déploiement Panik
0
1309
1423
1319
2006-11-21T02:53:10Z
Fraseyboy
2
wikitext
text/x-wiki
= Objectif =
Bien que le matériel soit en place depuis quelques temps, il ne sert pas encore de relais audio.
Cette page décrit les étapes à entreprendre pour
* Effectuer des tests de stabilité et fiabilité
* Passer en production
= Préparation =
== Qualité de Service ==
Les noeuds font intégrallement partie de !ReseauCitoyen. Il faut s'assurer que le stream audio aie un priorité absolue par rapport aux autres activités!
<!> '''Action''': Déterminer la bonne configuration des QoS (Quality of Service) pour les noeuds Panik et Josaphat
<br />'''Responsable''': RC:ManuelBornemann
<br />'''Statut''': En cours
== Serveur IceCast ==
Pour tester le streaming nous avons besoin d'un server [http://www.icecast.org/ IceCast] dans les locaux de la radio.
De manière à écarter tout problème venant de ce côté, on utiliser le serveur ''studio'' utilisé lors des tests en labo et qui est disponible chez RC:PhilippeVanhaesendonck (voire [[Logiciel Panik]] pour plus de détails). Il faut aussi une source audio pour alimenter le serveur [http://www.icecast.org/ IceCast]
<br />Ce serveur étant sensible aux pannes de courrant, il faut prévoir un UPS.
<!> '''Action''': Rassembler le matériel et l'installer dans les locaux de la radio, le connecter au noeud Panik
<br />'''Responsable''': RC:IvanMarkoff
<br />'''Statut''': Fait! (./)
= Protocole de test =
== Test 'à blanc' ==
Une fois le matériel en place et le QoS installé, on procédera à des tests 'à blanc' c'est a dire sans raccorder la sortie son de Josaphat et donc sans rien diffuser réellement.
L'objectif de ce test est de vérifier la stabilité de la liaison Panik/Josaphat ainsi que de la chaine logicielle.
Le critère de succès du test est de pouvoir ''touner'' une semaine sans interruption non planifiée.
<br />Le monitoring se fera essentiellement sur base des logs, puisqu'aucun retour audio n'est possible. On pourra toutefois se connecter à Josaphat pour tester [http://www.icecast.org/ IceCast]
<br />Cette phase de tests ne demande pas d'accès physique au serveur Josaphat
<!> '''Coordination''': RC:PhilippeVanhaesendonck
== Problèmes logiciels ==
Les éventuels problèmes logiciels seront analysés lorsqu'ils se présentent! La configuration à été testée avec succès en labo, et ne devrait pas poser de problème.
== Problèmes de liaison WIFI ==
En cas de liaison WIFI instable, il faudra changer le setup:
* Installer une antenne Grid sur Josaphat
* Installer un nouveau noeud connecté à l'omni
* Relier les 2 points en filaire pour augmenter l'accessibilité aux machines
Voire [[Alternative Panik]]
== Test d'émission ==
Après la réussite des tests 'à blanc', raccorder la sortie de la carte son de Josaphat à l'émetteur et diffuser réellement de la ''non-stop''.
Ce test final permettra d'apprécier la qualité du son et sera considéré comme concluant après une semaine d'émission ''stable''.
[[Category:Opération Panik]]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.casino-theory.com/online-casino-royale/play-free-online-casino.html play free online casino]
[http://www.casino-theory.com/online-casino-royale/online-casino-gamble.html online casino gamble]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
[http://www.gambling-online-theory.com/casinos/casinos-strategy.html casinos strategy]
1442
1423
2006-11-23T09:42:58Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Objectif =
Bien que le matériel soit en place depuis quelques temps, il ne sert pas encore de relais audio.
Cette page décrit les étapes à entreprendre pour
* Effectuer des tests de stabilité et fiabilité
* Passer en production
= Préparation =
== Qualité de Service ==
Les noeuds font intégrallement partie de !ReseauCitoyen. Il faut s'assurer que le stream audio aie un priorité absolue par rapport aux autres activités!
<!> '''Action''': Déterminer la bonne configuration des QoS (Quality of Service) pour les noeuds Panik et Josaphat
<br />'''Responsable''': RC:ManuelBornemann
<br />'''Statut''': En cours
== Serveur IceCast ==
Pour tester le streaming nous avons besoin d'un server [http://www.icecast.org/ IceCast] dans les locaux de la radio.
De manière à écarter tout problème venant de ce côté, on utiliser le serveur ''studio'' utilisé lors des tests en labo et qui est disponible chez RC:PhilippeVanhaesendonck (voire [[Logiciel Panik]] pour plus de détails). Il faut aussi une source audio pour alimenter le serveur [http://www.icecast.org/ IceCast]
<br />Ce serveur étant sensible aux pannes de courrant, il faut prévoir un UPS.
<!> '''Action''': Rassembler le matériel et l'installer dans les locaux de la radio, le connecter au noeud Panik
<br />'''Responsable''': RC:IvanMarkoff
<br />'''Statut''': Fait! (./)
= Protocole de test =
== Test 'à blanc' ==
Une fois le matériel en place et le QoS installé, on procédera à des tests 'à blanc' c'est a dire sans raccorder la sortie son de Josaphat et donc sans rien diffuser réellement.
L'objectif de ce test est de vérifier la stabilité de la liaison Panik/Josaphat ainsi que de la chaine logicielle.
Le critère de succès du test est de pouvoir ''touner'' une semaine sans interruption non planifiée.
<br />Le monitoring se fera essentiellement sur base des logs, puisqu'aucun retour audio n'est possible. On pourra toutefois se connecter à Josaphat pour tester [http://www.icecast.org/ IceCast]
<br />Cette phase de tests ne demande pas d'accès physique au serveur Josaphat
<!> '''Coordination''': RC:PhilippeVanhaesendonck
== Problèmes logiciels ==
Les éventuels problèmes logiciels seront analysés lorsqu'ils se présentent! La configuration à été testée avec succès en labo, et ne devrait pas poser de problème.
== Problèmes de liaison WIFI ==
En cas de liaison WIFI instable, il faudra changer le setup:
* Installer une antenne Grid sur Josaphat
* Installer un nouveau noeud connecté à l'omni
* Relier les 2 points en filaire pour augmenter l'accessibilité aux machines
Voire [[Alternative Panik]]
== Test d'émission ==
Après la réussite des tests 'à blanc', raccorder la sortie de la carte son de Josaphat à l'émetteur et diffuser réellement de la ''non-stop''.
Ce test final permettra d'apprécier la qualité du son et sera considéré comme concluant après une semaine d'émission ''stable''.
[[Category:Opération Panik]]
Help:Contents
12
1320
1424
1338
2006-11-21T03:10:59Z
Fraseyboy
2
wikitext
text/x-wiki
= Help =
* [[MetaWikiPedia:Help:Contents|MediaWiki User's Guide]]
* [[MetaWikiPedia:Help:Wiki markup examples|Help:Wiki markup examples]]
= Aide =
* [[MetaWikiPedia:Aide:Manuel de MediaWiki|Aide:Manuel de MediaWiki]]
* [[MetaWikiPedia:Aide:Syntaxe wiki|Aide:Syntaxe wiki]]
[http://www.casino-games-wiki.com/index.php/play_casino_games_games_online play casino games games online]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.magical-casino.com/online_games.html Online casino games.]
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.magical-casino.com/casino_rules.html Casino rules.]
[http://www.casinos-new.com/blackjack.html Online casino - Blackjack online]
[http://www.fortune-slots.com/ slots]
[http://www.slots-wiki.com/index.php/slots slots]
1441
1424
2006-11-23T09:42:56Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Help =
* [[MetaWikiPedia:Help:Contents|MediaWiki User's Guide]]
* [[MetaWikiPedia:Help:Wiki markup examples|Help:Wiki markup examples]]
= Aide =
* [[MetaWikiPedia:Aide:Manuel de MediaWiki|Aide:Manuel de MediaWiki]]
* [[MetaWikiPedia:Aide:Syntaxe wiki|Aide:Syntaxe wiki]]
Gestion Panik
0
1314
1425
1326
2006-11-21T05:16:07Z
Fraseyboy
2
wikitext
text/x-wiki
= A faire =
* tester un stream entre panik et josaphat
* ...
= date 04 - heure - Intervention sur place / distante =
Intervenants : ....
* Détails de l'intervention
* .......
= 10 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur panik/josaphat/joske
= 10 Janvier 05 - 21h - Intervention distante =
Intervenants : Philippe
* Correction du crontab de ''!CheckAodv'' (voir [[Gestion Josaphat]])
= 29 Décembre 04 - 22h00 - Intervention distante =
Intervenants : Eric G
* Copie de fichier son pour le test du stream ce trouvant dans /root/son
= 5 décembre 04 - 18h - Intervention distante =
Intervenants : Philippe
* Installation du script de monitoring AODV déjà en place sur josaphat
= 2 décembre 04 - 17h - Intervention sur place =
Intervenants : Ivan
* Remise en canal 1 suite à un changement intempestif en canal 6 avec pollution de "bossuet" et" ivan"
= 25 Novembre 04 - 14h - Intervention sur place =
Intervenants : Mathieu, Ivan
* Remplacement de l'antenne omni 9dB par une antenne grid 15 dbB
= 16 Novembre 04 - 19h00 - Intervention sur distante =
Intervenants : Philippe
Monitoring suite à l'interruption de service de lundi 15 au mardi 16 novembre
'''Incident''': Panik passe en rouge dans Nagios le 15 Novembre à 16h28 et réapparait le 16 novembre à 16:08
'''Analyse''': on observe les faits suivants:
* La machine n'a pas été arretée, le processus aodv n'a pas été redémarré -- le problème s'est donc réglé ''de lui-même''
* Durant toute la durée de l'incident, il n'y avait que une et une seule machine dans les tables de routage AODV: Arnaud (chardons)
* Fait intéressant: le noeud chardons était ''rouge'' dans Nagios '''pendant le même laps de temps'''!! Il semble donc que ces 2 machines se sont ''isolées'' du réseau.<br />L'analyse des logs de Josaphat confirme ce point: aucune des 2 machines n'est dans les tables de routage durant l'incident.
'''Conclusion''': On ne peut rien conclure de ces observations, seulement émettre des hypothèses...
<br />Il faudrait collecter plus d'informations sur les noeuds (info wireless, ...)
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface'').
* Mise a jour de ''/etc/hosts''
[[Category:Gestion RéseauCitoyen]]
[http://www.3wcasinos.com/roulette-tips/index.html roulette tips]
[http://www.slots-wiki.com/index.php/slots_tips slots tips]
[http://www.casino-games-wiki.com/index.php/casino_games_game casino games game]
[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
[http://www.gambling-online-theory.com/casinos/strategy-casinos.html strategy casinos]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
[http://www.casino-games-wiki.com/index.php/casino_games_game casino games game]
[http://www.slots-wiki.com/index.php/online_slots online slots]
1440
1425
2006-11-23T09:42:53Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= A faire =
* tester un stream entre panik et josaphat
* ...
= date 04 - heure - Intervention sur place / distante =
Intervenants : ....
* Détails de l'intervention
* .......
= 10 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur panik/josaphat/joske
= 10 Janvier 05 - 21h - Intervention distante =
Intervenants : Philippe
* Correction du crontab de ''!CheckAodv'' (voir [[Gestion Josaphat]])
= 29 Décembre 04 - 22h00 - Intervention distante =
Intervenants : Eric G
* Copie de fichier son pour le test du stream ce trouvant dans /root/son
= 5 décembre 04 - 18h - Intervention distante =
Intervenants : Philippe
* Installation du script de monitoring AODV déjà en place sur josaphat
= 2 décembre 04 - 17h - Intervention sur place =
Intervenants : Ivan
* Remise en canal 1 suite à un changement intempestif en canal 6 avec pollution de "bossuet" et" ivan"
= 25 Novembre 04 - 14h - Intervention sur place =
Intervenants : Mathieu, Ivan
* Remplacement de l'antenne omni 9dB par une antenne grid 15 dbB
= 16 Novembre 04 - 19h00 - Intervention sur distante =
Intervenants : Philippe
Monitoring suite à l'interruption de service de lundi 15 au mardi 16 novembre
'''Incident''': Panik passe en rouge dans Nagios le 15 Novembre à 16h28 et réapparait le 16 novembre à 16:08
'''Analyse''': on observe les faits suivants:
* La machine n'a pas été arretée, le processus aodv n'a pas été redémarré -- le problème s'est donc réglé ''de lui-même''
* Durant toute la durée de l'incident, il n'y avait que une et une seule machine dans les tables de routage AODV: Arnaud (chardons)
* Fait intéressant: le noeud chardons était ''rouge'' dans Nagios '''pendant le même laps de temps'''!! Il semble donc que ces 2 machines se sont ''isolées'' du réseau.<br />L'analyse des logs de Josaphat confirme ce point: aucune des 2 machines n'est dans les tables de routage durant l'incident.
'''Conclusion''': On ne peut rien conclure de ces observations, seulement émettre des hypothèses...
<br />Il faudrait collecter plus d'informations sur les noeuds (info wireless, ...)
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface'').
* Mise a jour de ''/etc/hosts''
[[Category:Gestion RéseauCitoyen]]
Main Page
0
1
1426
1397
2006-11-21T05:25:22Z
Fraseyboy
2
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
[http://www.gambling-online-theory.com/casinos/strategy-casinos.html strategy casinos]
[http://www.casinos-new.com/poker.html Online casino - Poker in casino]
[http://www.fortune-slots.com/ slots]
[http://www.gambling-online-theory.com/casinos-portal/best-casinos-online.html best casinos online]
[http://www.slots-wiki.com/index.php/online_slots online slots]
[http://www.gambling-online-theory.com/casinos/on-line-casinos.html on line casinos]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.casino-theory.com/online-casino-royale/online-casino-gamble.html online casino gamble]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.online-casino-wiki.com/index.php/online_casino_directory online casino directory]
[http://www.gambling-online-theory.com/casinos-portal/best-casinos-online.html best casinos online]
[http://www.magical-casino.com/casino_download.html Casino Downloading Action.]
[http://www.bestweb-online-casinos.com/slots-game/diamond-club-slots.html diamond club slots]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.casino-theory.com/online-casino-royale/online-casino-gamble.html online casino gamble]
[http://www.casino-games-wiki.com/index.php/play_casino_games play casino games]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.online-casino-wiki.com/index.php/online_casino online casino]
[http://www.magical-casino.com/casino_bonus.html Casino Bonus ]
[http://www.casino-games-wiki.com/index.php/play_casino_games_games_online play casino games games online]
1439
1426
2006-11-23T09:42:33Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
BuildRoot
0
1291
1427
1296
2006-11-21T06:02:09Z
Fraseyboy
2
wikitext
text/x-wiki
{{Outdated}}
The main part of of Bubble is based on the [http://www.uclibc.org/ uClibc/Busybox buildroot].
= Original [[BuildRoot]] =
Since there is no much documentation about it, this pages gives a brief overview on the directory layout.
== Version 1.99 Layout ==
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Path''' ||'''Makefile Variable'''||'''Description'''
|-
|buildroot/ ||BASE_DIR ||Main directory
|-
|....Makefile ||- ||The master makefile!
|-
|....make/ ||- ||All the included makefiles (per package)
|-
|....sources/ ||SOURCE_DIR ||Sources!
|-
|........dl/ ||DL_DIR ||All the downloaded packages are here! (cache)
|-
|........kernel-patches/ ||- ||Patches to apply to the kernel
|-
|........target-skeleton/ ||- ||Skeleton of the target filesystem
|-
|bgcolor="#DDDDFF"|........packages-skeleton/||bgcolor="#DDDDFF"|- ||bgcolor="#DDDDFF"|Skeleton for the packages (See [[Bubble package]])
|-
|bgcolor="#DDDDFF"|............<Package>/ ||bgcolor="#DDDDFF"|- ||bgcolor="#DDDDFF"|Skeleton for a particular packages
|-
|........<Other files> ||- ||All the files needed to configure & build the various packages
|-
|....toolchain_build_i386/ ||TOOL_BUILD_DIR ||Toolchain: gcc/binutils x-compilers
|-
|....build_i386/ ||BUILD_DIR ||The actual build directory
|-
|........root/ ||TARGET_DIR ||The ''root'' of the distribution <br />All packages are installed in this directory
|-
|........staging_dir/ ||STAGING_DIR ||Contains all the libraries/include files, ...<br />All the libraries are installed here, the packages are linked against STAGING_DIR
|-
|........<Components Dirs> ||- ||Directory where each [[BuildRoot]] component is unpacked, configured and build
|-
|bgcolor="#DDDDFF"|........packages/ ||bgcolor="#DDDDFF"|PACKAGE_DIR||bgcolor="#DDDDFF"|Directory where the bubble packages are generated (See [[Bubble package]])
|- bgcolor="#DDDDFF"
|............<Package> ||- ||Directory where each bubble package lives (similar to TARGET_DIR)
|- bgcolor="#DDDDFF"
|............drivers/ ||- ||Directory for the ''drivers'' packages
|-
|....root_fs ||IMAGE ||Image of the root filesystem
|-
|bgcolor="#DDDDFF"|....image/ ||bgcolor="#DDDDFF"|BUBBLE_IMAGE_DIR ||bgcolor="#DDDDFF"|Directory for bootable image and package tarballs
|-
|||||bgcolor="#DDDDFF"|This background color means: bubble addition to the original [[BuildRoot]]
|}
== Bubble 2.x layout ==
The [[BuildRoot]] directory structure has been reviewed in Oct-04, so we changed Bubble as well!
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Path''' ||'''Makefile Variable'''||'''Description'''
|-
|buildroot/ ||BASE_DIR ||Main directory
|-
|....Makefile ||- ||The master makefile!
|-
|....Config.in ||- ||The master configuration file
|-
|....toolchain/ ||- ||All the stuff needed to build the toolchain (makefiles & config)
|-
|....toolchain_build_i386/ ||TOOL_BUILD_DIR ||Toolchain built: gcc/binutils x-compilers
|-
|....package/ ||- ||All the stuff needed to build the ''packages'' (makefiles & config)
|-
|........<package>/ ||- ||All the stuff needed to build a single package
|-
|............<package>/Config.in ||- ||Package configuration
|-
|............<package>/<package>.mk||- ||Package makefile
|-
|............<package>/... ||- ||Patch file, ... (whatever is needed to build this package)
|-
|bgcolor="#DDDDFF"|............<package>/<Bubble>||bgcolor="#DDDDFF"|- ||bgcolor="#DDDDFF"|For each package we want to build as a Bubble package, we make some changes here -- See [[Bubble package]] for details
|-
|........linux/kernel-patches/ ||- ||Package Linux: Patches to apply to the kernel
|-
|....target/ ||- ||All the stuff needed to build the final ''target'' (makefiles & config)
|-
|........default/target-skeleton/ ||- ||Skeleton of the target filesystem
|-
|....dl/ ||DL_DIR ||All the downloaded packages are here! (cache)
|-
|....build_i386/ ||BUILD_DIR ||The actual build directory
|-
|........root/ ||TARGET_DIR ||The ''root'' of the distribution <br />All packages are installed in this directory
|-
|........staging_dir/ ||STAGING_DIR ||Contains all the libraries/include files, ...<br />All the libraries are installed here, the packages are linked against STAGING_DIR
|-
|........<Components Dirs> ||- ||Directory where each [[BuildRoot]] component is unpacked, configured and built
|- bgcolor="#DDDDFF"
|........bubble/||BUBBLE_DIR ||Workspace where the Bubble packages are packaged
|- bgcolor="#DDDDFF"
|............<Package Dir>||- ||Directory where each Bubble package is ''prepared''
|- bgcolor="#DDDDFF"
|............<Package>.bbl||- ||Bubble package
|-
|....root_fs ||IMAGE ||Image of the root filesystem
|-
|||||bgcolor="#DDDDFF"|This background color means: bubble addition to the original [[BuildRoot]]
|}
/!\ Still need to define target location for images & drivers...
= Bubble [[BuildRoot]] =
We have here 2 objectives:
1. Cleanup of the ''core'': the initial root_fs should be as small as possible. <br />The problem is that the kernel will install by default all the compiled modules while we need a limited selection.<br />Therefore we install the modules in the STAGING_DIR and copy what we need in the TARGET_DIR afterwards.
1. Modularity: we need to be able to generate separate packages for all the non-core modules (e.g. ssh, ...).<br />Approach: ''install'' each package in a separate directory under PACKAGE_DIR (1.99) BUBBLE_DIR (2.x).
= Makefile targets =
== Bubble 1.99 ==
make:: Build the whole stuff!<br />Core is generated in TARGET_DIR, packages in PACKAGE_DIR.<br />The bootable image and the package tarballs are copied in the BUBBLE_IMAGE_DIR directory (based on the [[Bubble configuration file]])
make rootclean:: Cleanup TARGET_DIR
make packageclean:: Cleanup PACKAGE_DIR
make bubbleclean:: Cleanup TARGET_DIR and PACKAGE_DIR
The first time we just need to do '''''make''''', after modification to the buildroot, it is recommended to run '''''make bubbleclean && make'''''
== Bubble 2.x ==
make:: Build the core (root FS)
make packages:: Build all the packages
/!\ Work in progress
[[Category:Bubble]]
[http://www.fortune-slots.com/ slots]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.casino-theory.com/online-casino-bonus/index.html online casino bonus]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.slots-wiki.com/index.php/slots_online slots online]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.magical-casino.com/security.html Casinos security online.]
[http://www.magical-casino.com/online_bonus.html Bonuses in Online Casinos.]
[http://www.casinos-go.com/online-casino-tips/index.html online casino tips]
1438
1427
2006-11-23T09:42:29Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
{{Outdated}}
The main part of of Bubble is based on the [http://www.uclibc.org/ uClibc/Busybox buildroot].
= Original [[BuildRoot]] =
Since there is no much documentation about it, this pages gives a brief overview on the directory layout.
== Version 1.99 Layout ==
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Path''' ||'''Makefile Variable'''||'''Description'''
|-
|buildroot/ ||BASE_DIR ||Main directory
|-
|....Makefile ||- ||The master makefile!
|-
|....make/ ||- ||All the included makefiles (per package)
|-
|....sources/ ||SOURCE_DIR ||Sources!
|-
|........dl/ ||DL_DIR ||All the downloaded packages are here! (cache)
|-
|........kernel-patches/ ||- ||Patches to apply to the kernel
|-
|........target-skeleton/ ||- ||Skeleton of the target filesystem
|-
|bgcolor="#DDDDFF"|........packages-skeleton/||bgcolor="#DDDDFF"|- ||bgcolor="#DDDDFF"|Skeleton for the packages (See [[Bubble package]])
|-
|bgcolor="#DDDDFF"|............<Package>/ ||bgcolor="#DDDDFF"|- ||bgcolor="#DDDDFF"|Skeleton for a particular packages
|-
|........<Other files> ||- ||All the files needed to configure & build the various packages
|-
|....toolchain_build_i386/ ||TOOL_BUILD_DIR ||Toolchain: gcc/binutils x-compilers
|-
|....build_i386/ ||BUILD_DIR ||The actual build directory
|-
|........root/ ||TARGET_DIR ||The ''root'' of the distribution <br />All packages are installed in this directory
|-
|........staging_dir/ ||STAGING_DIR ||Contains all the libraries/include files, ...<br />All the libraries are installed here, the packages are linked against STAGING_DIR
|-
|........<Components Dirs> ||- ||Directory where each [[BuildRoot]] component is unpacked, configured and build
|-
|bgcolor="#DDDDFF"|........packages/ ||bgcolor="#DDDDFF"|PACKAGE_DIR||bgcolor="#DDDDFF"|Directory where the bubble packages are generated (See [[Bubble package]])
|- bgcolor="#DDDDFF"
|............<Package> ||- ||Directory where each bubble package lives (similar to TARGET_DIR)
|- bgcolor="#DDDDFF"
|............drivers/ ||- ||Directory for the ''drivers'' packages
|-
|....root_fs ||IMAGE ||Image of the root filesystem
|-
|bgcolor="#DDDDFF"|....image/ ||bgcolor="#DDDDFF"|BUBBLE_IMAGE_DIR ||bgcolor="#DDDDFF"|Directory for bootable image and package tarballs
|-
|||||bgcolor="#DDDDFF"|This background color means: bubble addition to the original [[BuildRoot]]
|}
== Bubble 2.x layout ==
The [[BuildRoot]] directory structure has been reviewed in Oct-04, so we changed Bubble as well!
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Path''' ||'''Makefile Variable'''||'''Description'''
|-
|buildroot/ ||BASE_DIR ||Main directory
|-
|....Makefile ||- ||The master makefile!
|-
|....Config.in ||- ||The master configuration file
|-
|....toolchain/ ||- ||All the stuff needed to build the toolchain (makefiles & config)
|-
|....toolchain_build_i386/ ||TOOL_BUILD_DIR ||Toolchain built: gcc/binutils x-compilers
|-
|....package/ ||- ||All the stuff needed to build the ''packages'' (makefiles & config)
|-
|........<package>/ ||- ||All the stuff needed to build a single package
|-
|............<package>/Config.in ||- ||Package configuration
|-
|............<package>/<package>.mk||- ||Package makefile
|-
|............<package>/... ||- ||Patch file, ... (whatever is needed to build this package)
|-
|bgcolor="#DDDDFF"|............<package>/<Bubble>||bgcolor="#DDDDFF"|- ||bgcolor="#DDDDFF"|For each package we want to build as a Bubble package, we make some changes here -- See [[Bubble package]] for details
|-
|........linux/kernel-patches/ ||- ||Package Linux: Patches to apply to the kernel
|-
|....target/ ||- ||All the stuff needed to build the final ''target'' (makefiles & config)
|-
|........default/target-skeleton/ ||- ||Skeleton of the target filesystem
|-
|....dl/ ||DL_DIR ||All the downloaded packages are here! (cache)
|-
|....build_i386/ ||BUILD_DIR ||The actual build directory
|-
|........root/ ||TARGET_DIR ||The ''root'' of the distribution <br />All packages are installed in this directory
|-
|........staging_dir/ ||STAGING_DIR ||Contains all the libraries/include files, ...<br />All the libraries are installed here, the packages are linked against STAGING_DIR
|-
|........<Components Dirs> ||- ||Directory where each [[BuildRoot]] component is unpacked, configured and built
|- bgcolor="#DDDDFF"
|........bubble/||BUBBLE_DIR ||Workspace where the Bubble packages are packaged
|- bgcolor="#DDDDFF"
|............<Package Dir>||- ||Directory where each Bubble package is ''prepared''
|- bgcolor="#DDDDFF"
|............<Package>.bbl||- ||Bubble package
|-
|....root_fs ||IMAGE ||Image of the root filesystem
|-
|||||bgcolor="#DDDDFF"|This background color means: bubble addition to the original [[BuildRoot]]
|}
/!\ Still need to define target location for images & drivers...
= Bubble [[BuildRoot]] =
We have here 2 objectives:
1. Cleanup of the ''core'': the initial root_fs should be as small as possible. <br />The problem is that the kernel will install by default all the compiled modules while we need a limited selection.<br />Therefore we install the modules in the STAGING_DIR and copy what we need in the TARGET_DIR afterwards.
1. Modularity: we need to be able to generate separate packages for all the non-core modules (e.g. ssh, ...).<br />Approach: ''install'' each package in a separate directory under PACKAGE_DIR (1.99) BUBBLE_DIR (2.x).
= Makefile targets =
== Bubble 1.99 ==
make:: Build the whole stuff!<br />Core is generated in TARGET_DIR, packages in PACKAGE_DIR.<br />The bootable image and the package tarballs are copied in the BUBBLE_IMAGE_DIR directory (based on the [[Bubble configuration file]])
make rootclean:: Cleanup TARGET_DIR
make packageclean:: Cleanup PACKAGE_DIR
make bubbleclean:: Cleanup TARGET_DIR and PACKAGE_DIR
The first time we just need to do '''''make''''', after modification to the buildroot, it is recommended to run '''''make bubbleclean && make'''''
== Bubble 2.x ==
make:: Build the core (root FS)
make packages:: Build all the packages
/!\ Work in progress
[[Category:Bubble]]
Linux kernel
0
1287
1428
1292
2006-11-21T07:10:29Z
Fraseyboy
2
wikitext
text/x-wiki
= Version =
The [[BuildRoot]] is based on Linux 2.4.31 (V1.99 was 2.4.21)
The kernel is ''tagged'' and linux-2.4.31-bubble
= Patches =
* Orinoco drivers 0.13e
* Orinoco monitor atch
* HostAP
= Configuration =
The size of the kernel will bas as small as possible, optional parts are compiled as modules.
* Loadable module support: yes obviously, but no versionning though
* Processor type and features: 386 with math support (should run on everything)
* General setup:
** no Eisa/MCA support
** Hotplug/PCMCIA support (modules)
** Support only Elf binaries
** Support APM (Otherwhise I cannot shut down my node...)
** No ACPI support
* Memory Technology Devices: '''no support a this time'''
* Parallel port: no support
* Plug and Play: as module
* Block devices: Support floppy (module) & ram disk
* RAID and LVM: no support
* Networking options.
** Packet socket (in case we need ''tcpdump'')
** Netfilter support
** Unix domain socket (do we really need this?)
** TCP/IP Networking ;)
** kernel level autoconfiguration '''not''' selected
** Netfilter configuration: main ones selected (We may want to build the other ones as modules)
** No IPV6
** No ''other protocol''
** No QoS
* Telephony: no support
* ATA/IDE/MFM/RL: module support (for CDROM!)
* Firerwire: no support
* I20: no support
* Network device: Support via modules for:
** Ethernet 10/100
** Wireless
** PCMCIA
* Amateur Radio: no support
* IrDA: no support
* ISDN: no support
* Old CD-ROMS: no support
* Input core: no support
* Character devices
** Virtual terminal & serial console support
** Unix98 PTYs
** No support for other options
* Multimedia: no support
* Filesystems:
** ext2, tmpfs, /proc & /dev/pts
** msdos & iso9660 as module
* Console: Supports for VGA-Text
* Sound: no support
* USB: no support '''(Need to review this for WLAN USB devices)'''
* Bluetooth: no support
* Kernel Hacking: no support
* Library routines: no zlib support
[http://www.casinos-new.com/poker.html Online casino - Poker in casino]
[http://www.casino-theory.com/online-casino-royale/play-free-online-casino.html play free online casino]
[http://www.gambling-online-theory.com/casinos/fun-casinos.html fun casinos]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.3wcasinos.com/roulette-tips/roulette-description.html roulette description]
[http://www.magical-casino.com/games_variations.html Casino Games and variations.]
[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.fortune-slots.com/ slots]
[http://www.casino-games-wiki.com/index.php/play_casino_games_games_online play casino games games online]
1437
1428
2006-11-23T09:42:27Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Version =
The [[BuildRoot]] is based on Linux 2.4.31 (V1.99 was 2.4.21)
The kernel is ''tagged'' and linux-2.4.31-bubble
= Patches =
* Orinoco drivers 0.13e
* Orinoco monitor atch
* HostAP
= Configuration =
The size of the kernel will bas as small as possible, optional parts are compiled as modules.
* Loadable module support: yes obviously, but no versionning though
* Processor type and features: 386 with math support (should run on everything)
* General setup:
** no Eisa/MCA support
** Hotplug/PCMCIA support (modules)
** Support only Elf binaries
** Support APM (Otherwhise I cannot shut down my node...)
** No ACPI support
* Memory Technology Devices: '''no support a this time'''
* Parallel port: no support
* Plug and Play: as module
* Block devices: Support floppy (module) & ram disk
* RAID and LVM: no support
* Networking options.
** Packet socket (in case we need ''tcpdump'')
** Netfilter support
** Unix domain socket (do we really need this?)
** TCP/IP Networking ;)
** kernel level autoconfiguration '''not''' selected
** Netfilter configuration: main ones selected (We may want to build the other ones as modules)
** No IPV6
** No ''other protocol''
** No QoS
* Telephony: no support
* ATA/IDE/MFM/RL: module support (for CDROM!)
* Firerwire: no support
* I20: no support
* Network device: Support via modules for:
** Ethernet 10/100
** Wireless
** PCMCIA
* Amateur Radio: no support
* IrDA: no support
* ISDN: no support
* Old CD-ROMS: no support
* Input core: no support
* Character devices
** Virtual terminal & serial console support
** Unix98 PTYs
** No support for other options
* Multimedia: no support
* Filesystems:
** ext2, tmpfs, /proc & /dev/pts
** msdos & iso9660 as module
* Console: Supports for VGA-Text
* Sound: no support
* USB: no support '''(Need to review this for WLAN USB devices)'''
* Bluetooth: no support
* Kernel Hacking: no support
* Library routines: no zlib support
Matériel Panik
0
1303
1429
1308
2006-11-21T18:14:45Z
Fraseyboy
2
wikitext
text/x-wiki
= Coté émission (Panik) =
== PC ==
Un RC:CitizenBac est utilisé:
* Pentium 150 Mhz
* 64 MB RAM (vérifiée avec [http://www.memtest86.com/ MemTest86])
* 1.6 GB Hard Disk (vérifié avec ''badblocks'')
* Carte réseau SMC Ultra
* Bridge PCMCIA ISA
== Wifi ==
* Carte: PCMCIA Cisco 350 ou RC:EnGenius
* Antenne: RC:RubberDuck via un pigtail RP-TNC
= Coté réception (Josaphat) =
== PC ==
Un PC ''tour'':
* Pentium 200 Mhz MMX
* 160 MB RAM (vérifiée avec [http://www.memtest86.com/ MemTest86])
* 1282 MB Hard Disk (vérifié avec ''badblocks'')
* Carte son: Creative SB16 PnP
== Wifi ==
* Carte: PCMCIA RC:EnGenius
* Antenne: Omni 8 dBi via un pigtail N et un cable Ecoflex N/N
== Problèmes résolus ==
* La carte perd son setup lorsqu'elle est débranchée. <br />Pile remplacée {OK}
* 165 badblocks sur ke disque. <br />Disque changé {OK}
= Problème hardware (pour référence) =
Historique du problème hardware sur le RC:CitizenBac.
<br />La machine a été remplacée
J'ai détecté plusieurs comportements bizarres du système:
* Un core dump lors de l'install
* Une erreur de pagination au shutdown
* Une corruption disque
Si le hardware ne peux pas formellement être mis en cause dans les 2 premiers cas, le troisème est formellement identifié:
cmp -bl /lib/modules/2.4.27-rc-1-386/kernel/drivers/ide/ide-core.o kernel/drivers/ide/ide-core.o
105379 0 <sup>@ 3 </sup>C
106403 1 <sup>A 3 </sup>C
Cette corruption c'est produite à l'installation d'un nouveau noyeau pendant la création du initrd.
Plusieurs causes sont probables:
* Problème disque
* Problème mémoire / cache (seuls 2 bytes du fichier sont affectés)
* Problème de la carte mère en général (ben il a marche pendant plus d un an --eg)
Aucun message d'erreur dans les logs....
/!\ plan d'action:
* Test intensif de la mémoire (avec [http://www.memtest86.com/ MemTest86]) <br /> {OK} Quatre passes complètes sans erreur (16 heures de test!)
* Test intensif du disque (avec badblocks -- le disque est ATA-1 et n'a pas d'infos SMART) <br /> X-( le disque a l'air d'avoir des problèmes intermitants: badblocks me renvoie une dizaine de blocs, je relance la commande en redirigeant la liste des blocks dans un fichier: plus d'erreur...
* Autres tests <br /> {OK} Le processeur reste tiède avec cpuburn -- pas de problème de ce coté
<!> Suite au résultats des tests précédents, je décide d'utiliser un autre disque...
* Test pour badblocks dans une autre machine: pas de problème
* Première partie de l'install de Sarge dans une autre machine: pas de problème
* Install du HD dans la machine cible, continuation de l'install: corruption d'une librairie, impossible de finir l'install X-(
<!> Pour préciser le problème, je reprend au début:
* Install complet de Sarge a partir d'une autre machine: tout bon
* Install du HD dans la machine cible: pas de problème au boot
* Je décide alors de ''charger'' la machine en copiant le répertoire /usr et en vérifiant la consistance des données. <br />La procédure tourne toute la nuit sans corruptions...
* Comme la plupart des problèmes on été rencontrés lors/suite à l'install de paquets Debian, je change mon script de test et fais la copie via <br />`tar -czf - | tar -xzf -` <br />et oh surprise après quelques minutes la machine se meurt avec des <br />`kernel: Unable to handle kernel paging request at virtual address ...` <br />De plus le problème est maintenant reproductible!
Ce type de problème est généralement logiciel, mais il se produit ici avec avec une installation Sarge de base, ce qui est vraiment bizarre...
<br />L'analyse du stack trace des Oopses ne révèle pas grand chose:
* Aucun module exotique dans le stack
* Se produit a des endroits différents
* Est lié à la gestion disque/mémoire (allocation d'inode, swap, ...)
A ce stade il est difficile d'apporter un conclusion formelle sur l'origine du problème. Bien qu'on puisse pousser les tests plus loin (étude du comportement sous Debian Woody par exemple), nous sommes de toutes façons en présence d'un système instable.
<br />Je pense qu'il vaut mieux éviter d'installer un noeud sur des bases malsaines et suggère l'utilisation d'une autre machine.
[[Category:Opération Panik]]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.slots-wiki.com/index.php/slots_tips slots tips]
[http://www.casinos-new.com/internet-casino.html Online casino - Internet Casinos]
[http://www.slots-wiki.com/index.php/slots_online_bonus slots online bonus]
[http://www.slots-wiki.com/index.php/slots slots]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
[http://www.bestweb-online-casinos.com/slots-game/diamond-club-slots.html diamond club slots]
[http://www.fortune-slots.com/ slots online]
[http://www.online-casino-wiki.com/index.php/online_casino_tips online casino tips]
1436
1429
2006-11-23T09:42:24Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Coté émission (Panik) =
== PC ==
Un RC:CitizenBac est utilisé:
* Pentium 150 Mhz
* 64 MB RAM (vérifiée avec [http://www.memtest86.com/ MemTest86])
* 1.6 GB Hard Disk (vérifié avec ''badblocks'')
* Carte réseau SMC Ultra
* Bridge PCMCIA ISA
== Wifi ==
* Carte: PCMCIA Cisco 350 ou RC:EnGenius
* Antenne: RC:RubberDuck via un pigtail RP-TNC
= Coté réception (Josaphat) =
== PC ==
Un PC ''tour'':
* Pentium 200 Mhz MMX
* 160 MB RAM (vérifiée avec [http://www.memtest86.com/ MemTest86])
* 1282 MB Hard Disk (vérifié avec ''badblocks'')
* Carte son: Creative SB16 PnP
== Wifi ==
* Carte: PCMCIA RC:EnGenius
* Antenne: Omni 8 dBi via un pigtail N et un cable Ecoflex N/N
== Problèmes résolus ==
* La carte perd son setup lorsqu'elle est débranchée. <br />Pile remplacée {OK}
* 165 badblocks sur ke disque. <br />Disque changé {OK}
= Problème hardware (pour référence) =
Historique du problème hardware sur le RC:CitizenBac.
<br />La machine a été remplacée
J'ai détecté plusieurs comportements bizarres du système:
* Un core dump lors de l'install
* Une erreur de pagination au shutdown
* Une corruption disque
Si le hardware ne peux pas formellement être mis en cause dans les 2 premiers cas, le troisème est formellement identifié:
cmp -bl /lib/modules/2.4.27-rc-1-386/kernel/drivers/ide/ide-core.o kernel/drivers/ide/ide-core.o
105379 0 <sup>@ 3 </sup>C
106403 1 <sup>A 3 </sup>C
Cette corruption c'est produite à l'installation d'un nouveau noyeau pendant la création du initrd.
Plusieurs causes sont probables:
* Problème disque
* Problème mémoire / cache (seuls 2 bytes du fichier sont affectés)
* Problème de la carte mère en général (ben il a marche pendant plus d un an --eg)
Aucun message d'erreur dans les logs....
/!\ plan d'action:
* Test intensif de la mémoire (avec [http://www.memtest86.com/ MemTest86]) <br /> {OK} Quatre passes complètes sans erreur (16 heures de test!)
* Test intensif du disque (avec badblocks -- le disque est ATA-1 et n'a pas d'infos SMART) <br /> X-( le disque a l'air d'avoir des problèmes intermitants: badblocks me renvoie une dizaine de blocs, je relance la commande en redirigeant la liste des blocks dans un fichier: plus d'erreur...
* Autres tests <br /> {OK} Le processeur reste tiède avec cpuburn -- pas de problème de ce coté
<!> Suite au résultats des tests précédents, je décide d'utiliser un autre disque...
* Test pour badblocks dans une autre machine: pas de problème
* Première partie de l'install de Sarge dans une autre machine: pas de problème
* Install du HD dans la machine cible, continuation de l'install: corruption d'une librairie, impossible de finir l'install X-(
<!> Pour préciser le problème, je reprend au début:
* Install complet de Sarge a partir d'une autre machine: tout bon
* Install du HD dans la machine cible: pas de problème au boot
* Je décide alors de ''charger'' la machine en copiant le répertoire /usr et en vérifiant la consistance des données. <br />La procédure tourne toute la nuit sans corruptions...
* Comme la plupart des problèmes on été rencontrés lors/suite à l'install de paquets Debian, je change mon script de test et fais la copie via <br />`tar -czf - | tar -xzf -` <br />et oh surprise après quelques minutes la machine se meurt avec des <br />`kernel: Unable to handle kernel paging request at virtual address ...` <br />De plus le problème est maintenant reproductible!
Ce type de problème est généralement logiciel, mais il se produit ici avec avec une installation Sarge de base, ce qui est vraiment bizarre...
<br />L'analyse du stack trace des Oopses ne révèle pas grand chose:
* Aucun module exotique dans le stack
* Se produit a des endroits différents
* Est lié à la gestion disque/mémoire (allocation d'inode, swap, ...)
A ce stade il est difficile d'apporter un conclusion formelle sur l'origine du problème. Bien qu'on puisse pousser les tests plus loin (étude du comportement sous Debian Woody par exemple), nous sommes de toutes façons en présence d'un système instable.
<br />Je pense qu'il vaut mieux éviter d'installer un noeud sur des bases malsaines et suggère l'utilisation d'une autre machine.
[[Category:Opération Panik]]
Gestion RéseauCitoyen
0
1311
1431
1398
2006-11-22T03:53:03Z
Fraseyboy
2
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
[http://www.3wcasinos.com/roulette-tips/roulette-description.html roulette description]
[http://www.slots-wiki.com/index.php/slots_online_bonus slots online bonus]
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games]
[http://www.bestweb-online-casinos.com/best-online-casino/online-casino-free-game.html online casino free game]
[http://www.bestweb-online-casinos.com/slots-game/diamond-club-slots.html diamond club slots]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.casino-games-wiki.com/index.php/on_line_casino_games on line casino games]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.magical-casino.com/online_games.html Online casino games.]
[http://www.magical-casino.com/casino_bonus.html Casino Bonus ]
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
[http://www.casinos-go.com/online-casino-tips/online-casino-on-the-net.html online casino on the net]
[http://www.slots-wiki.com/index.php/slots slots]
[http://www.magical-casino.com/casino_download.html Casino Downloading Action.]
[http://www.casino-theory.com/online-casino-bonus/online-casino-net.html online casino net]
[http://www.3wcasinos.com/roulette-tips/index.html roulette tips]
[http://www.slots-wiki.com/index.php/online_slots online slots]
1434
1431
2006-11-23T09:42:19Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
Rg Install
0
1299
1432
1333
2006-11-22T16:04:04Z
Fraseyboy
2
wikitext
text/x-wiki
= Requirements =
* RG-1000 device :-?
* TFTP Server
* NFS Server
* DHCP Server
* RC-1000 [http://reseaucitoyen.be ReseauCitoyen] distribution. <br />[http://reseaucitoyen.be/diskless/rc1000/ Download the latest build] <br />It contains 3 files:
** '''''firmware-rc1000.img''''': RG-1000 firware image (!KarlBridge) with [http://www.etherboot.org Etherboot]
** '''''kernel-rc1000.nbi''''': Linux kernel 2.4 in Network Bootable Image format
** '''''root-fs-rc1000.tbz''''': Root filesystem bzipped tarball
= Flash the new RG-1000 Firmware =
First, you need to re-flash your RG-1000 with the '''''firmware-rc1000.img''''' firmware
See the [[Rg Flash]] for more details
= Upgrade the Orinoco card Firmware =
The RG-1000 contains an Orinoco card with a relatively old firmware.
<br />Although not mandatory, I '''strongly''' recommend to upgrade the firmware of the card.
You will have to open your RG-1000 (See [http://reseaucitoyen.be/gallery/view_album.php?set_albumName=rg1000 pictures])
<br />Follow these [[RC:OrinocoSilver|instructions]]
= TFTP Server =
We strongly recommend the use of the ''tftp-hpa'' server.
<br />Debian: ''apt-get install tftpd-hpa''
Configuring TFTP is very simple. You just need:
tftp dgram udp wait root /usr/sbin/in.tftpd tftpd -v -s /tftpboot
in /etc/inetd.conf (/tftpboot is the directory which will contains the boot images).
<br />Do not forget to restart inetd after chanfing /etc/inetd.conf:
/etc/init.d/inetd reload
Copy the firmware into your /tftpboot directory.
<br />E.g.:
mkdir /tftpboot/rc1000
cp kernel-rc1000.nbi /tftpboot/rc1000
= NFS Server =
Debian: ''apt-get install nfs-kernel-server''
<br />or the user-mode version: ''apt-get install nfs-user-server''
Unpack the root image somewhere on your NFS Server.
<br />This '''must''' be done as '''''root''''' to preserve the devices et permissions!
<br />E.g.:
mkdir /home/rc1000
tar xjf root-fs-rc1000.tbz -C /home/rc1000
Export the directory: add a line in ''/etc/exports''.
<br />E.g.:
/home/rc1000 192.168.1.0/24(rw,no_root_squash,sync)
The ''no_root_squash'' option is important to grant full root access to the client. You may want to restrict the address to the single address of the RG-1000
Finally, activate the export (for the kernel-mode version):
exportfs -a
= DHCP Server =
We will need a BootP/DHCP server on the local network
<br />Debian (ISC dhcpd 3.0): ''apt-get install dhcp3-server''
Here is an example which show how to configure ISC dhcpd 3.0 (extract of /etc/dhcp3/dhcpd.conf):
subnet 192.168.1.0 netmask 255.255.255.0 {
# Other declarations...
# Etherboot Client Example
host rc1000 {
option host-name "rc1000"; # Hostname
hardware ethernet 00:02:2d:15:2a:af; # Mac address of the node
fixed-address rc1000.bulles-dsl; # Assigned IP (DNS will resolve the name)
server-name "bulles-nc.bulles-dsl"; # Name of the DHCP server
option tftp-server-name "bulles-nc"; # Name of the TFTP server (can be another host than the DHCP server)
next-server bulles-nc.bulles-dsl; # Address of the TFTP server
filename "/rc1000/kernel-rc1000.nbi"; # Name of the kernel image (NBI format)
option root-path "192.168.1.19:/home/rc1000"; # Address of the NFS Server and the directory containing the root image
}
}
= Boot your RG-1000 =
Let the magic happen!
/!\ '''Note''': The very first boot takes some time, mainly due to the creation of the swap partition on the NFS root
== Etherboot ==
With the RC-1000 custom firmware, the device will '''always''' jump to [http://www.etherboot.org Etherboot] and try to download the Linux kernel.
If you want to access !KarlBridge, see the next paragraphs.
Ensure the RG-1000 is on the network, and plug the power in.
Observe the LEDs:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|LEDs (Red/Amber sometimes misleading on the picture...) ||Power ||Wireless ||Ethernet ||Modem ||Phase ||Duration
|-
| http://reseaucitoyen.be/albums/rg1000/aan.jpg ||Amber ||Amber ||Amber ||Amber ||RG-1000 Initialisation ||5 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aao.jpg ||Red ||Red ||Red ||Red ||Firware Initialisation ||2 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aaq.jpg ||Red ||- ||Red ||Red ||Network Detected ||4 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aap.jpg ||Red ||Green ||Green ||Green ||Etherboot started <br />The device will request an IP via DHCP and load linux kernel using TFTP <br />If the RG-1000 stays forever in this status, check your DHCP/TFTP settings||30 secs on first boot <br />10 on reboots
|-
|http://reseaucitoyen.be/albums/rg1000/aar.jpg ||Amber ||Red ||Red ||Red ||Linux starts <br />Note hat I messed up in the LEDs in the 210304 build it is G-R-R-A||<1 sec
|-
|http://reseaucitoyen.be/albums/rg1000/aas.jpg ||Amber ||- ||Green Blink||- ||Linux boots ||7 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aat.jpg ||Green ||- ||- ||- ||Linux ready <br />Wireless and Ethernet LEDs blink Green on access||-
|}
You can now ''telnet'' to the device!
== Booting the KarlBridge firmware ==
If you want to boot the !KarlBridge firmware, just boot the unit with the network cable disconnected.
<br />Reconnect the cable once the devices is started.
''[TODO] Document LEDs statuses''
== Connecting a Console ==
It is also possible to have access to the Linux Console via the modem port of the RG-1000.
# Il faut un 'vrai modem' -- je veux dire par là que le modem doit pouvoir supporter une communication sur laquelle il n'y a pas de courrant(à l'opposé d'une ligne téléphonique). <br />N'importe quel 'vieux machin' doit faire l'affaire, mais ouliez un !WinModem ou la plupart des modems Laptops...
# Connecter le modem au RG-1000 en back-to-back (simple cable téléphonique droit)
# Connecter le modem au port série du PC (Cable série droit)
# Installez minicom sur Linux (ou utiliser WinTel HyperTerm) sur une Debian Sarge:
## En tant que root, installer le package<br />`apt-get install minicom`
## En tant que root, s'ajouter dans le groupe "dialout" <br />`adduser <your_user> dialout`
## En tant qu'utilisateur non privilégié, configurer minicom <br />`minicom -s`
## On tombe dans une interface interactive en mode texte, le seul paramètre à changer est "Configuration du port série / Port série" qui est /dev/modem et que j'ai changé en /dev/ttyS0<br />Ne pas oublier de sauver la config avant de sortir<br />En tant qu'utilisateur non privilégié<br />`minicom`
# verifier que le PC parle au modem (e.g. commande ATI)
# Booter le RG-1000, dès que les 4 LEDs ambre passent au rouge (pas avant!), appuyez sur 'forced reload' pendant 'un certain temps' (4 rouges -> 3 rouges -> autre chose: a ce point relachez le forced reload)
# Dans minicom: initialiser la connection -- l'incantation est: 'ATX1D'
# La console se connecte et demande si on veux Etherboot ou le firmware original -- choisir Etherboot
''[TODO] Translate text :-) ''
= Install Packages =
The root file system (root-fs-rc1000.tbz) included in the distribution contains the bare minimum to boot the system and establish a network connection ('''no wireless at this stage''').
You have to install additional packages to have a fully functional node
== Why packages? ==
The first version of the distribution was ''monolythic''. Easy to install, but a pain to upgrade as you always have to overwrite your previous configuration.
Then I came accross [http://handhelds.org/moin/moin.cgi/Ipkg IPKG] and decided to re-package the whole thing with it.
Now you just have to install once, update from time to time!
== Obtaining packages / configuring ipkg ==
The official packages feed is available at
* Internet: http://reseaucitoyen.be/diskless/rc1000/feeds/stable/
* ReseauCitoyen:
** http://rbulles.bxl.rc/rc1000/feeds/stable/
** http://10.51.110.172/rc1000/feeds/stable/
If your have internet access, and your DHCP server is well configured (that is: it provides the default gateway, ...) you just need to check the ''nameserver'' entries in ''/etc/resolv.conf'' and you are ready to go!
Telnet to your RG-1000, test your connectivity:
# ping belnet.be
PING belnet.be (193.190.198.53): 56 data bytes
64 bytes from 193.190.198.53: icmp_seq=0 ttl=54 time=13.1 ms
...
(Do not attempt to ping reseaucitoyen.be as it does not answer ICMPs!)
<br />and update your package list:
# ipkg update
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/Packages
Updated list of available packages in /usr/lib/ipkg/lists/stable
If you have internet access, but cannot ping ''reseaucitoyen.be'', please check your network configuration -- this is a bit out of the scope of this Install Guide!
In case you cannot access ''reseaucitoyen.be'' from your RG-1000, then you can:
* Copy the feed to a local system, and update `/etc/ipkg.conf` on the RG-1000 accordingly
* Copy the feed to the nfs-mounted partition so that they are directly accessible from the RG-1000 and install directly from file.
In any case, please read the [http://handhelds.org/moin/moin.cgi/Ipkg IPKG Documentation] before bugging me :-?
== Pre-installed packages ==
The initial disk image contains the following packages (minimal configuration to be able to boot the RG-1000 and access it through the LAN interface):
* base-files (base configuration files, devices, ...)
* hosts-file (/etc/hosts)
* uclibc (base libraries)
* busybox (base utilisties)
* diffutils (diff -- needed by ipkg)
* ipkg (the key to the rest of the install)
== Packages you should install ==
To have a working node, you should install the following packages:
* linux-modules (kernel modules, mainly the drivers for the wireless device)
* iptables (firewall)
* aodv-uu / aodv-uu-ipt (AOVD-UU without/with my iptables patch)
* aodv-uu-cfg (aodv startup scripts)
* wtools (wireless tools)
* tinyhttp (small http server to get status of the node via the web)
# ipkg install linux-modules iptables aodv-uu-ipt wtools tinyhttp
Installing linux-modules (2.4.23-rc-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/linux-modules_2.4.23-rc-1_i386.ipk
Installing iptables (1.2.8-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/iptables_1.2.8-1_i386.ipk
Installing aodv-uu-ipt (0.8.1-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/aodv-uu-ipt_0.8.1-1_i386.ipk
Installing aodv-uu-cfg (0.8.1-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/aodv-uu-cfg_0.8.1-1_i386.ipk
Installing wtools (26-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/wtools_26-1_i386.ipk
Installing tinyhttp (1.0.0-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/tinyhttp_1.0.0-1_i386.ipk
Configuring aodv-uu-cfg
Configuring aodv-uu-ipt
Configuring iptables
Configuring linux-modules
Configuring tinyhttp
Configuring wtools
Successfully terminated.
Reboot to start all the services and you are all set!
<br />(It looks like I am not able to reset the wireless card properly at reboot when we use hostap. So it is safer to halt the device, and power-off / power-on the unit)
== Other packages ==
If needed, you can also install the following packages:
* kismet (kismet drone)
* libcpp (C++ libraries needed by kismet)
* u-olsrd (If you want to experiment with OLSR and join the Guild of the Blue Trappis)
* dropbear-sshd (ssh server)
* zlib (needed by dropbear)
== IPKG and Firewall ==
Note that once the ''iptables'' package is installed, you will not be able to access the internet anymore, due to the strict firewalling rules.
You can relax the protection during the upgrades -- e.g.:
# iptables -I OUTPUT -o eth0 -d 212.68.212.217 -j ACCEPT
# iptables -I INPUT -i eth0 -s 212.68.212.217 -j ACCEPT
Depending on your local configuration, you may need to give access to the nameservers as well...
[[Category:RC-1000]]
[http://www.magical-casino.com/online_games.html Online casino games.]
[http://www.casino-games-wiki.com/index.php/casino_games_rules casino games rules]
[http://www.gambling-online-theory.com/casinos-portal/internet-casinos-sites.html internet casinos sites]
[http://www.casino-theory.com/bingo-online/gambling-online-bingo.html gambling online bingo]
[http://www.magical-casino.com/casino_games.html Casino games.]
[http://www.magical-casino.com/security.html Casinos security online.]
[http://www.gambling-online-theory.com/fortune-roulette/on-line-roulette-game.html on line roulette game]
[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino]
[http://www.casino-games-wiki.com/index.php/casino_games_online casino games online]
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
1433
1432
2006-11-23T09:42:10Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Requirements =
* RG-1000 device :-?
* TFTP Server
* NFS Server
* DHCP Server
* RC-1000 [http://reseaucitoyen.be ReseauCitoyen] distribution. <br />[http://reseaucitoyen.be/diskless/rc1000/ Download the latest build] <br />It contains 3 files:
** '''''firmware-rc1000.img''''': RG-1000 firware image (!KarlBridge) with [http://www.etherboot.org Etherboot]
** '''''kernel-rc1000.nbi''''': Linux kernel 2.4 in Network Bootable Image format
** '''''root-fs-rc1000.tbz''''': Root filesystem bzipped tarball
= Flash the new RG-1000 Firmware =
First, you need to re-flash your RG-1000 with the '''''firmware-rc1000.img''''' firmware
See the [[Rg Flash]] for more details
= Upgrade the Orinoco card Firmware =
The RG-1000 contains an Orinoco card with a relatively old firmware.
<br />Although not mandatory, I '''strongly''' recommend to upgrade the firmware of the card.
You will have to open your RG-1000 (See [http://reseaucitoyen.be/gallery/view_album.php?set_albumName=rg1000 pictures])
<br />Follow these [[RC:OrinocoSilver|instructions]]
= TFTP Server =
We strongly recommend the use of the ''tftp-hpa'' server.
<br />Debian: ''apt-get install tftpd-hpa''
Configuring TFTP is very simple. You just need:
tftp dgram udp wait root /usr/sbin/in.tftpd tftpd -v -s /tftpboot
in /etc/inetd.conf (/tftpboot is the directory which will contains the boot images).
<br />Do not forget to restart inetd after chanfing /etc/inetd.conf:
/etc/init.d/inetd reload
Copy the firmware into your /tftpboot directory.
<br />E.g.:
mkdir /tftpboot/rc1000
cp kernel-rc1000.nbi /tftpboot/rc1000
= NFS Server =
Debian: ''apt-get install nfs-kernel-server''
<br />or the user-mode version: ''apt-get install nfs-user-server''
Unpack the root image somewhere on your NFS Server.
<br />This '''must''' be done as '''''root''''' to preserve the devices et permissions!
<br />E.g.:
mkdir /home/rc1000
tar xjf root-fs-rc1000.tbz -C /home/rc1000
Export the directory: add a line in ''/etc/exports''.
<br />E.g.:
/home/rc1000 192.168.1.0/24(rw,no_root_squash,sync)
The ''no_root_squash'' option is important to grant full root access to the client. You may want to restrict the address to the single address of the RG-1000
Finally, activate the export (for the kernel-mode version):
exportfs -a
= DHCP Server =
We will need a BootP/DHCP server on the local network
<br />Debian (ISC dhcpd 3.0): ''apt-get install dhcp3-server''
Here is an example which show how to configure ISC dhcpd 3.0 (extract of /etc/dhcp3/dhcpd.conf):
subnet 192.168.1.0 netmask 255.255.255.0 {
# Other declarations...
# Etherboot Client Example
host rc1000 {
option host-name "rc1000"; # Hostname
hardware ethernet 00:02:2d:15:2a:af; # Mac address of the node
fixed-address rc1000.bulles-dsl; # Assigned IP (DNS will resolve the name)
server-name "bulles-nc.bulles-dsl"; # Name of the DHCP server
option tftp-server-name "bulles-nc"; # Name of the TFTP server (can be another host than the DHCP server)
next-server bulles-nc.bulles-dsl; # Address of the TFTP server
filename "/rc1000/kernel-rc1000.nbi"; # Name of the kernel image (NBI format)
option root-path "192.168.1.19:/home/rc1000"; # Address of the NFS Server and the directory containing the root image
}
}
= Boot your RG-1000 =
Let the magic happen!
/!\ '''Note''': The very first boot takes some time, mainly due to the creation of the swap partition on the NFS root
== Etherboot ==
With the RC-1000 custom firmware, the device will '''always''' jump to [http://www.etherboot.org Etherboot] and try to download the Linux kernel.
If you want to access !KarlBridge, see the next paragraphs.
Ensure the RG-1000 is on the network, and plug the power in.
Observe the LEDs:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|LEDs (Red/Amber sometimes misleading on the picture...) ||Power ||Wireless ||Ethernet ||Modem ||Phase ||Duration
|-
| http://reseaucitoyen.be/albums/rg1000/aan.jpg ||Amber ||Amber ||Amber ||Amber ||RG-1000 Initialisation ||5 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aao.jpg ||Red ||Red ||Red ||Red ||Firware Initialisation ||2 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aaq.jpg ||Red ||- ||Red ||Red ||Network Detected ||4 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aap.jpg ||Red ||Green ||Green ||Green ||Etherboot started <br />The device will request an IP via DHCP and load linux kernel using TFTP <br />If the RG-1000 stays forever in this status, check your DHCP/TFTP settings||30 secs on first boot <br />10 on reboots
|-
|http://reseaucitoyen.be/albums/rg1000/aar.jpg ||Amber ||Red ||Red ||Red ||Linux starts <br />Note hat I messed up in the LEDs in the 210304 build it is G-R-R-A||<1 sec
|-
|http://reseaucitoyen.be/albums/rg1000/aas.jpg ||Amber ||- ||Green Blink||- ||Linux boots ||7 secs
|-
|http://reseaucitoyen.be/albums/rg1000/aat.jpg ||Green ||- ||- ||- ||Linux ready <br />Wireless and Ethernet LEDs blink Green on access||-
|}
You can now ''telnet'' to the device!
== Booting the KarlBridge firmware ==
If you want to boot the !KarlBridge firmware, just boot the unit with the network cable disconnected.
<br />Reconnect the cable once the devices is started.
''[TODO] Document LEDs statuses''
== Connecting a Console ==
It is also possible to have access to the Linux Console via the modem port of the RG-1000.
# Il faut un 'vrai modem' -- je veux dire par là que le modem doit pouvoir supporter une communication sur laquelle il n'y a pas de courrant(à l'opposé d'une ligne téléphonique). <br />N'importe quel 'vieux machin' doit faire l'affaire, mais ouliez un !WinModem ou la plupart des modems Laptops...
# Connecter le modem au RG-1000 en back-to-back (simple cable téléphonique droit)
# Connecter le modem au port série du PC (Cable série droit)
# Installez minicom sur Linux (ou utiliser WinTel HyperTerm) sur une Debian Sarge:
## En tant que root, installer le package<br />`apt-get install minicom`
## En tant que root, s'ajouter dans le groupe "dialout" <br />`adduser <your_user> dialout`
## En tant qu'utilisateur non privilégié, configurer minicom <br />`minicom -s`
## On tombe dans une interface interactive en mode texte, le seul paramètre à changer est "Configuration du port série / Port série" qui est /dev/modem et que j'ai changé en /dev/ttyS0<br />Ne pas oublier de sauver la config avant de sortir<br />En tant qu'utilisateur non privilégié<br />`minicom`
# verifier que le PC parle au modem (e.g. commande ATI)
# Booter le RG-1000, dès que les 4 LEDs ambre passent au rouge (pas avant!), appuyez sur 'forced reload' pendant 'un certain temps' (4 rouges -> 3 rouges -> autre chose: a ce point relachez le forced reload)
# Dans minicom: initialiser la connection -- l'incantation est: 'ATX1D'
# La console se connecte et demande si on veux Etherboot ou le firmware original -- choisir Etherboot
''[TODO] Translate text :-) ''
= Install Packages =
The root file system (root-fs-rc1000.tbz) included in the distribution contains the bare minimum to boot the system and establish a network connection ('''no wireless at this stage''').
You have to install additional packages to have a fully functional node
== Why packages? ==
The first version of the distribution was ''monolythic''. Easy to install, but a pain to upgrade as you always have to overwrite your previous configuration.
Then I came accross [http://handhelds.org/moin/moin.cgi/Ipkg IPKG] and decided to re-package the whole thing with it.
Now you just have to install once, update from time to time!
== Obtaining packages / configuring ipkg ==
The official packages feed is available at
* Internet: http://reseaucitoyen.be/diskless/rc1000/feeds/stable/
* ReseauCitoyen:
** http://rbulles.bxl.rc/rc1000/feeds/stable/
** http://10.51.110.172/rc1000/feeds/stable/
If your have internet access, and your DHCP server is well configured (that is: it provides the default gateway, ...) you just need to check the ''nameserver'' entries in ''/etc/resolv.conf'' and you are ready to go!
Telnet to your RG-1000, test your connectivity:
# ping belnet.be
PING belnet.be (193.190.198.53): 56 data bytes
64 bytes from 193.190.198.53: icmp_seq=0 ttl=54 time=13.1 ms
...
(Do not attempt to ping reseaucitoyen.be as it does not answer ICMPs!)
<br />and update your package list:
# ipkg update
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/Packages
Updated list of available packages in /usr/lib/ipkg/lists/stable
If you have internet access, but cannot ping ''reseaucitoyen.be'', please check your network configuration -- this is a bit out of the scope of this Install Guide!
In case you cannot access ''reseaucitoyen.be'' from your RG-1000, then you can:
* Copy the feed to a local system, and update `/etc/ipkg.conf` on the RG-1000 accordingly
* Copy the feed to the nfs-mounted partition so that they are directly accessible from the RG-1000 and install directly from file.
In any case, please read the [http://handhelds.org/moin/moin.cgi/Ipkg IPKG Documentation] before bugging me :-?
== Pre-installed packages ==
The initial disk image contains the following packages (minimal configuration to be able to boot the RG-1000 and access it through the LAN interface):
* base-files (base configuration files, devices, ...)
* hosts-file (/etc/hosts)
* uclibc (base libraries)
* busybox (base utilisties)
* diffutils (diff -- needed by ipkg)
* ipkg (the key to the rest of the install)
== Packages you should install ==
To have a working node, you should install the following packages:
* linux-modules (kernel modules, mainly the drivers for the wireless device)
* iptables (firewall)
* aodv-uu / aodv-uu-ipt (AOVD-UU without/with my iptables patch)
* aodv-uu-cfg (aodv startup scripts)
* wtools (wireless tools)
* tinyhttp (small http server to get status of the node via the web)
# ipkg install linux-modules iptables aodv-uu-ipt wtools tinyhttp
Installing linux-modules (2.4.23-rc-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/linux-modules_2.4.23-rc-1_i386.ipk
Installing iptables (1.2.8-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/iptables_1.2.8-1_i386.ipk
Installing aodv-uu-ipt (0.8.1-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/aodv-uu-ipt_0.8.1-1_i386.ipk
Installing aodv-uu-cfg (0.8.1-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/aodv-uu-cfg_0.8.1-1_i386.ipk
Installing wtools (26-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/wtools_26-1_i386.ipk
Installing tinyhttp (1.0.0-1) to root...
Downloading http://ReseauCitoyen.be/diskless/rc1000/feeds/stable/tinyhttp_1.0.0-1_i386.ipk
Configuring aodv-uu-cfg
Configuring aodv-uu-ipt
Configuring iptables
Configuring linux-modules
Configuring tinyhttp
Configuring wtools
Successfully terminated.
Reboot to start all the services and you are all set!
<br />(It looks like I am not able to reset the wireless card properly at reboot when we use hostap. So it is safer to halt the device, and power-off / power-on the unit)
== Other packages ==
If needed, you can also install the following packages:
* kismet (kismet drone)
* libcpp (C++ libraries needed by kismet)
* u-olsrd (If you want to experiment with OLSR and join the Guild of the Blue Trappis)
* dropbear-sshd (ssh server)
* zlib (needed by dropbear)
== IPKG and Firewall ==
Note that once the ''iptables'' package is installed, you will not be able to access the internet anymore, due to the strict firewalling rules.
You can relax the protection during the upgrades -- e.g.:
# iptables -I OUTPUT -o eth0 -d 212.68.212.217 -j ACCEPT
# iptables -I INPUT -i eth0 -s 212.68.212.217 -j ACCEPT
Depending on your local configuration, you may need to give access to the nameservers as well...
[[Category:RC-1000]]
Bubble configuration file
0
1288
1453
1411
2006-11-23T09:43:56Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
{{Outdated}}
= Objective =
The runtime configuration file will drive the behaviour of the node.
* Configuration of the core
* List and parameters of the additional modules to load
This page describes the structure of the runtime configuration file.
Constraints
* Can be generated by a user interface.
* Must be easily editable with text editor.<br />Which means human readable (not too complex) and flexible in format.
* Must be easily parsed by the node at run time<br />(Limited tools available in [[BusyBox]])
= Syntax =
We use the well-know ''.ini'' syntax:
[section-name]
parameter = value
...
In addition to that, we add some ''pseudo-parameters'' which are mainly used by the UI:
system.help = text Help text for the section
parameter.system = value Same as 'parameter = value', but shown in the UI
parameter.choices = value|value|... List of value for the parameter
parameter.crypt = value The parameter is encrypted
parameter-1.depends = parameter-2=value Parameter-1 is only used when parameter-2 = value
parameter.list = value The parameter is actually a list
(Every occurrence is a new element)
= Example =
See CVS:buildroot/bubble.cfg.distr for the latest [[Bubble configuration file]] distributed
[system]
help.system = Information specific to the build system
version.help = Configuration file version number (do not change)
version.system = 0
isolinux.help = Where is isolinux.bin located?
isolinux.system = /usr/lib/syslinux/isolinux.bin
[kernel]
help.system = Kernel specifics
append.help = Kernel parameters that need to be passed on boot
append =
module.help = Modules to load at start-up
module.list =
[image]
help.system = Information for the core image build
type.help = Image type
type.choices = etherboot|pxe|iso|syslinux
type = etherboot
net_module.help = Modules needed to get network up
net_module.depend = type=etherboot|pxe
net_module.list = 3c59x
iso_module.help = Modules needed to support the cdrom and iso fs
iso_module.depend = type=iso
iso_module.list = iso9660
iso_module.list = ide-cd
iso_device.help = Device where the cdrom is
iso_device.depend = type=iso
iso_device = /dev/hda0
syslinux_module.help = Modules needed to support the floppy and the FAT
syslinux_module.depend = type=syslinux
syslinux_module.list = msdos
syslinux_module.list = floppy
syslinux_device.help = Device where the floppy/CF card is
syslinux_device.depend = type=syslinux
syslinux_device = /dev/fd0
...
= Reference =
This paragraph describes all the parameters, section by section.
== Build Parameters ==
The parameters in the following sections are impacting the '''build''' of the distribution.
<br />They are available at run-time for information, but do not (should not) impact the behaviour of the distribution.
=== [system] ===
Information specific to the host used to build the distribution.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|version||Number||-||Internal parameter used to track the version of the configuration file. Do not change this value
|-
|isolinux||File||-||Location of the [http://syslinux.zytor.com/iso.php SysLinux] ''isolinux.bin'' file on the build system
|}
=== [kernel] ===
Information related to the Linux kernel
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|append||Text||-||Kernel parameters passed on the command line at boot time.<br />Unless you are using [http://www.etherboot.org/ Etherboot], you can always change this parameter after build in the [http://syslinux.zytor.com/iso.php SysLinux] configuration file which is generated.<br />For [http://www.etherboot.org/ Etherboot]however, you will have to regenerate an image.
|-
|module||List of modules||-||List of modules (with their parameters) that need to be packaged in the image and loaded at startup (one module per line).<br />The system tries to be smart and loads the dependencies automatically.
|}
=== [image] ===
What kind of image do we need?
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|type||etherboot|pxe|iso|syslinux||-||Image type:<br />''etherboot'': [http://www.etherboot.org/ Etherboot] image (See [[Network boot]])<br />''pxe'': [[Network boot]] via [http://syslinux.zytor.com/pxe.php PXELinux] <br />''iso'': to generate a bootable ISO9660 CD-ROM Image (using [http://syslinux.zytor.com/iso.php ISOLinux])<br />''syslinux'': image for [http://syslinux.zytor.com/iso.php SysLinux]. Allow to boot from FAT filesystem (Floppy of Compact Flash cards)
|-
|net_module||List of modules||-||For ''etherboot'' and ''pxe'' images, the module(s) needed to support the card
|-
|iso_module||List of modules||-||For ''iso'', the module(s) needed to support the cd-rom and the ISO9660 filesystem
|-
|iso_device||Device||-||For ''iso'', the device to be used to mount the cd-rom (e.g. /dev/hda1)
|-
|syslinux_module||List of modules||-||For ''syslinux'', the module(s) needed to support the floppy drive and the msdos filesystem
|-
|syslinux_device||Device||-||For ''syslinux'', the device to be used to mount the floppy (e.g. /dev/fd0)
|-
|driver||List of modules||-||List of modules for which a driver package need to be build (See [[Bubble package]])<br /> /!\ PCMCIA drivers should never be started (i.e. ''start = no'' package parameter)
|}
/!\ There is no need to generate another image if your boot device (''iso_device'' or ''syslinux_device'') is not the same as the one in the build, you just have to change it in the [http://syslinux.zytor.com/iso.php SysLinux] configuration file
== Runtime Parameters ==
The following parameters have no effect on the build, they are just used at run-time.
=== [node] ===
General configuration of the node
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|Hostname||Text||bubble||Name for the node
|-
|syslog_ip||IP Address||-||By default, logging is done in a shared memory segment and available on the node via the ''logread'' command (circular buffer). If ''syslog_ip'' is set, '''in addition''' the syslog information will be send at that address.
|-
|root||Encrypted password||-||If set, this will be the root password for the node. Otherwise, all accounts are locked and access is only available from the console
|-
|telnetd||yes|no||no||If set to ''yes'', start the telnetd daemon. Although SSH is the preferred option, due to disk space or memory constraint we may consider ''telnet'' as alternative
|-
|keepinitrd||yes|no||no||If set to ''yes'', do not release the Initial RAM Disk at boot time (debugging only)
|}
=== [wireless] ===
Configuration of the wireless device.
Most of the parameters are set automatically to be compliant to [http://reseaucitoyen.be ReseauCitoyen] -- See [[Bubble overview]].
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|interface||none|eth0|eth1|wlan0|...||none||Interface used by the wireless card (or ethernet card when a wireless bridge is used)
|-
|virtual_if||yes|no||no||Enable the creation of an alias on the device to use a second IP in the 172.16i.jk.lm.n0/28 network (non AODV)<br />When this interface is configured, the dhcp server is automatically configured and started for this subnet.
|}
=== [lan] ===
Configuration of the LAN wired device (if any).
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|interface||none|eth0|eth1|...||none||Interface used by an optional ethernet card
|-
|address||dhcp|fixed||-||Address allocation scheme:<br />''dhcp'': network is configure through a DHCP server on the wired network<br />''fixed'': fixed ip. In that case all the following parameters need to be specified
|-
|ip||IP Address||-||For ''fixed'' address: the IP to be used
|-
|broadcast||Broadcast address||-||For ''fixed'' address: the broadcast address to be used
|-
|netmask||Network mask||-||For ''fixed'' address: the network mask to be used
|}
== Packages ==
This section covers all the runtime parameters related to the packages.
<br />See also [[Bubble package]] for more details about the package structure.
=== [packages] ===
General information on the packages
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|size||Number||-||Free space on the RAM Disk after install (in KB)
|-
|inode||Number||-||Free inodes on the RAM Disk after install
|-
|retry||Number||0||Number of retries when fetching a package.<br />By default, the package installer just skips the packages it cannot find.<br />Setting this parameter allows to use a system distributed on multiple floppies: when a package is not found, a console message will request to change media.<br /> /!\ As a consequence, the system will not be able to boot unattended when this parameter is set and a packages are missing...
|-
|package||List of packages||-||List all the packages to consider. To be loaded at runtime, a package must be listed here '''and''' have the ''load'' parameter set to ''yes''!
|}
=== Common parameters for all packages ===
The following parameters are valid for all packages
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|size||Number||-||Disk space used by this package on (RAM) disk (in KB)
|-
|inode||Number||-||Inodes used by this package on (RAM) disk
|-
|load||yes|no||yes||Load this package?
|-
|file||File||''package''.tbz||Filename of the tarball for this package
|-
|retry||Number||''[package] parameter''||Number of retries when fetching a package.<br />This parameter overrides the one at ''[package]'' level and has the same signification.
|-
|install||File||''package''||Name of a script located in /tmp which will be run at install (boot) time
|-
|start||yes|no||yes||If this package is a ''service'', do we need to start it at boot time?
|-
|module_params||Text||-||If this package is a ''Driver Package'', the parameters which will be passed to the module (see [[Bubble package]])
|}
Except for the ''size'' and ''inode'' parameter, you can safely omit all the others, and the package will do what you expect!
=== [keybbe] ===
Configures Belgian keyboard for the console.
No additional parameter.
=== [pcmcia] ===
PCMCIA Support.
<br />This package contains the pcmcia ''cardmanager'' and the core modules.
The ''cardmanager'' is only run once at boot time -- therefore hot plug of device is not supported, this is beyond the scope of Bubble.
/!\ This package only implements the pcmcia core subsystem. This means that no actual card driver is in this package, they must be built separately (via the ''driver'' parameter of the ''[image]'' section). Also, all the packages related to pcmcia drivers cannot be started at package install time (i.e. ''start = no'') as the modules are loaded through the card services.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|pcic||i82365|tcic|yenta-socket||-||pcmcia controller type -- actually the name of the module supporting it<br /> /!\ The pcic module is '''not''' part of the package -- it must be built separately as driver. We are doing this to limit package size
|-
|pcic_opts||Module options||-||Controller options to pass to the module
|}
=== [wtools] ===
Install wireless tools and configure the wireless interface at boot time.
<br />This package is '''not''' needed when you use a wireless bridge (WET-11, ...) as interface.
No additional parameter.
=== [iptables] ===
Provides basic firewalling for the node -- See [[Routing and firewall]] for details.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|port||List of TCP/IP ports||-||List of ''ports'' accepted by the node on the Wireless interface.<br />Typically we allow ssh and www
|-
|mac||List of mac addresses||-||List of ''trusted'' mac addresses for which we accept to ''forward'' to the Wired Lan if present
|-
|script||File name||-||Additional firewall script to run. The script needs to be placed on the distribution media
|}
=== [aodv] ===
Kernel AODV.
AODV will be started on the wireless interface.
No additional parameter.
=== [tinyhttp] ===
Starts the [[BusyBox]] tiny http server.
<br />The features of this server are somewhat limited but it is more than enough to provide a few pages of information.
<br />By default there is a simple home (''index.html'') and a cgi script (''cgi-bin/node_stat'') which gives information about the node.
Additionally content can be added with the ''website'' parameter.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|website||File||-||Name of a file containing the web pages<br />The file '''must be''' a bzipped tarball that will be extracted at the document root of the web server.
|}
=== [openssh] ===
This package bundles zlib, openssl and openssh.
This is the biggest package of the distribution (around 1MB), so if if you are booting from floppy, you will need a separate one for ssh!
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|rsa_key||File||-||Name of a file on the boot medium containing the private RSA key<br />(''/etc/ssh/ssh_host_rsa_key'' file)
|-
|rsa_key_pub||File||-||Name of a file on the boot medium containing the public RSA key<br />(''/etc/ssh/ssh_host_rsa_key.pub'' file)
|-
|dsa_key||File||-||Name of a file on the boot medium containing the private DSA key<br />(''/etc/ssh/ssh_host_dsa_key'' file)
|-
|dsa_key_pub||File||-||Name of a on the boot medium file containing the public DSA key<br />(''/etc/ssh/ssh_host_dsa_key.pub'' file)
|-
|authorized||File||-||Name of a on the boot medium file containing the public key of users who will have root access<br />(''~root/.ssh/authorized_keys'' file)
|}
If you do not provide any key file as parameter, the node will generate the necessary RSA and DSA private/public keys at boot time.
<br />It is strongly recommended to save the generated keys, otherwise you will get new ones after each boot, and clients will usually complain
=== [dropbear] ===
This package bundles zlib and [http://matt.ucc.asn.au/dropbear/dropbear.html Dropbear SSH server].
Dropbear is a small and secure SSH '''server'''. The package footprint is around 140K!
<br />This package does not include a ssh '''client''' -- if you need this, you will have to go for the full featured openssh package.
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Parameter'''||'''Type/Values'''||'''Default value'''||'''Description'''
|-
|rsa_key||File||-||Name of a file on the boot medium containing the private RSA key<br />(''/etc/dropbear/dropbear_rsa_host_key'' file)
|-
|dss_key||File||-||Name of a file on the boot medium containing the private DSS key<br />(''/etc/dropbear/dropbear_dss_host_key'' file)
|-
|authorized||File||-||Name of a on the boot medium file containing the public key of users who will have root access<br />(''~root/.ssh/authorized_keys'' file)
|}
If you do not provide any key file as parameter, the node will generate the necessary RSA and DSS private keys at boot time.
<br />It is strongly recommended to save the generated keys, otherwise you will get new ones after each boot, and clients will usually complain
[[Category:Bubble]]
Bubble
0
1279
1454
1410
2006-11-23T09:43:59Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= About Bubble =
Bubble is a kind of mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
Unlike [http://www.nycwireless.net/pebble/ Pebble] which offers a full [http://www.debian.org Debian] environment, Bubble is rather small and designed to run on ''limited'' hardware -- typically without hard disk and in less than 16MB.
Also Bubble is designed to run as a diskless node. Once booted it does not need any disk.
= Table of contents =
* [[DiskLess]]: the version 1 of Bubble!
* [[Bubble overview]] / [[:RC:DistributionBubble]]: a general overview (motivation, big picture)
* [[Install guide]]: How to install a Bubble node
* [[Bubble development]]: information about development environment (requirements, directory structure, utility scripts, ...)
* [[Bubble runtime architecture]]: description of the Bubble runtime architecture
* [[Routing and firewall]]: information about the routing and firewalling on the node
= Milestones =
Sep-05:
<br />After a long quiet period, the development has restarted!
* Updated [[BuilRoot]] (some small changes again in the architecture)
* Setup Q-Emu for testing releases
* New OLSR package
* Floppy and Etherboot images have been successfully tested
* Utility scripts made to generate images based on ''meta-description''
Dec-04:
* New version of Bubble in the make!
* v1.99 archived in the CVS
* New buildroot imported
* Wiki pages under revision
26-Oct-03:
* Dropbear is available -- it is now possible to have a ssh server on a single floppy distribution!
05-Oct-03:
* PCMCIA is now available
* Node [http://bulles.no-ip.org/ReseauCitoyen/node_status.php Bulles] is now running Bubble v1.99-cvs (migrated from DiskLess)
28-Sep-03:
* Bubble has now all the features of DiskLess (except PCMCIA). Obviously some testing needs to be done.
21-Sep-03:
* The package framework is now fully implemented (See BubblePackage)
* The first packages are released (Belgian keyboard ;) and Wireless Tools)
14-Sep-03:
* Not too much visible progress, but we can load and parse the ConfigFile from the boot device
07-Sep-03:
* We have a running ''core'' system!
31-Aug-03:
* CVS module created
* Imported the [http://www.uclibc.org/ uClibc buildroot] CVS into the new Bubble CVS
cvs import -ko -m "Buildroot 030831" ReseauCitoyen/Bubble/buildroot buildroot buildroot_030831
= To Do =
* Additional packages
** iptables
** ...
* Handling multiple interfaces
* User documentation to build images
* USer Interface to generate images
* User Interface to configure node
* Performance improvement in parsing configuration file <br />The shell based version is rather slow on old systems
* ...
[[Category:Bubble]]
RC-1000
0
1295
1455
1409
2006-11-23T09:44:02Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= RC-1000: ReseauCitoyen on RG-1000 =
Attempt to run a RC node on a RG-1000 AP.
= Plan =
Use my favorite [[BuildRoot]] to have a core linux running and expand from there
= Roadmap =
* Setup CVS ([http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/RC-1000/ View])
* Retrofit essential [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann]'s patches into 2.4 kernel
* Refine base environment
* Get wireless running
* Get AODV running
= To Do =
* All done!<br />Add you wishes here...
= Notes =
# [[Rg Flash]]: Flash you RG-1000 to allow Network Boot (via [http://www.etherboot.org Etherboot])
# [[Rg Kernel]]: Linux kernel patches for RG-1000 Support
# [[Rg Install]]: How to run the RC-1000 project on you RG-1000
# [[Question fréquentes]]
= Links =
* http://www.seattlewireless.net/index.cgi/OrinocoRg1000
* http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html
* http://www.amd.com/epd/processors/4.32bitcont/13.lan4xxfam/22.lansc400/
= LogBook =
* 31-Oct-04
** Distribution completely re-packaged based on IPKG
** Includes new packages (kismet, dropbear)
* 09-Oct-04
** Integrated experimental iptables based AODV
** CVS updated and package released <br />Note that the AODV hack is for the time being out of the RC-1000 CVS tree, but available in a separate [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/aodv-uu-ipt project tree]
* 20-Aug-04
** Upgrade AODV-UU to 0.8.1; added start/stop script
** Upgrade Unik-OLSR to 0.4.5; standard config file; no start/stop script
** CVS updated and package released
* 19-Aug-04
** Added [http://hostap.epitest.fi/ HostAP] 0.2.4 support
** Channel changed to '1'
** Set the clock at boot time
** CVS Updated for the above changes
** Package not released (need to update AODV / OLSR)
* 19-Apr-04
** Experimental: NFS Swap
** Experimental: OLSR (From http://olsr.org/ )
** Package released, but CVS not updated (need to take time to document and cleanup)
* 27-Mar-04
** AODV-UU 0.8 compiled. It runs, but not further tests done
** Package released, but CVS not updated
* 26-Mar-04
** Added ''login'' and ''password'', CVS updated and new package released...
* 25-Mar-04
** Added iptables, tiny http
** Minor fixes
** Commit all changes in CVS
** New package released
* 21-Mar-04:
** Cleanup Wiki
** Commit wtools in CVS
* 20-Mar-04:
** Workaround Lance problems by using shorts timeouts in [http://www.etherboot.org Etherboot]
** Major cleanup -- commit all in CVS
** Rebuild from scratch for testing purpose -- Everything looks good.
* 07-Mar-04:
** Linux kernel 2.4 runs now -- fixed problem in idle loop
** LEDs are working
** Orinoco drivers running as well!
* 15-Feb-04:
** [http://www.etherboot.org Etherboot] 5.2 eventually works (as long as we cold boot after a re-flash!)
* 25-Jan-04:
** Create this page
** Gather documentation
[[Category:RC-1000]]
Gestion Josaphat
0
1313
1456
1408
2006-11-23T09:44:05Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= A faire =
* ....
* ....
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
1474
1456
2007-01-10T10:19:09Z
Dako
4
/* A faire */
wikitext
text/x-wiki
= A faire =
* 5Ghz
* ....
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
1475
1474
2007-01-10T10:25:52Z
Dako
4
wikitext
text/x-wiki
= A faire =
* 5Ghz
* ....
= date 2006-01-10 - Il est toujours la détails de la configuration actuelle =
Intervenants :ivan et cedric mais david écrit ;)
*à l' heure actuelle c' est un wrt54gs avec openwrt je pense
*relié a une soekris+sr5
*ip lan du wrt 192.168.39.55
*ip lan de la soekris 192.168.39.1
*ip wifi de la soekris 192.168.38.1
voila on remet la maintenance a partir d aujourd hui en route.
dako
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
1476
1475
2007-01-10T23:13:45Z
Cedricnet
5
/* A faire */
wikitext
text/x-wiki
= A faire =
* 5Ghz
*
* ....
= date 2006-01-10 - Configuration actuelle =
wrt (freifunk)
2.4 ghz, canal 1. BSSID indiqué dans l'interface web (11:11...)
antenne omnidirectionelle ( ? db)
*ip wifi 10.8.39.138
*ip lan 192.168.39.55
relié par ethernet à une soekris 4511 (1 minipci, 1 pcmcia)
soekris (voyage 0.2-10 - www.voyage.hk)
une carte SR5 minipci. 5 ghz, canal 149.
pour le moment en ap "josaphatmaster"
antenne omnidirectionelle (pacwireless 12 db)
*ip lan 192.168.39.1
*ip wifi 192.168.38.1
= date 2006-01-10 - Il est toujours la détails de la configuration actuelle =
Intervenants :ivan et cedric mais david écrit ;)
*à l' heure actuelle c' est un wrt54gs avec openwrt je pense
*relié a une soekris+sr5
*ip lan du wrt 192.168.39.55
*ip lan de la soekris 192.168.39.1
*ip wifi de la soekris 192.168.38.1
voila on remet la maintenance a partir d aujourd hui en route.
dako
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
1477
1476
2007-01-10T23:15:44Z
Cedricnet
5
/* date 2006-01-10 - Configuration actuelle */
wikitext
text/x-wiki
= A faire =
* 5Ghz
*
* ....
= date 2006-01-10 - Configuration actuelle =
wrt (freifunk)
2.4 ghz, canal 1. BSSID indiqué dans l'interface web (11:11...)
antenne omnidirectionelle ( ? db)
*ip wifi 10.8.39.138
*ip lan 192.168.39.55
relié par ethernet à une soekris 4511 (1 minipci, 1 pcmcia)
soekris (voyage 0.2-10 - www.voyage.hk)
une carte SR5 minipci. 5 ghz, canal 149.
pour le moment en ap "josaphatmaster"
antenne omnidirectionelle (pacwireless 12 db)
*ip lan 192.168.39.1
*ip wifi 192.168.38.1
dans les deux cas, +/- 6 m de câble (référence?) terminés par un N mâle.
= date 2006-01-10 - Il est toujours la détails de la configuration actuelle =
Intervenants :ivan et cedric mais david écrit ;)
*à l' heure actuelle c' est un wrt54gs avec openwrt je pense
*relié a une soekris+sr5
*ip lan du wrt 192.168.39.55
*ip lan de la soekris 192.168.39.1
*ip wifi de la soekris 192.168.38.1
voila on remet la maintenance a partir d aujourd hui en route.
dako
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
1478
1477
2007-01-10T23:16:35Z
Cedricnet
5
/* A faire */
wikitext
text/x-wiki
= A faire =
* 5Ghz
* modifier le bssid dans l'interface web pour CA:FE:CA:FE...
* Cédric, sur place, régler le watchdog
* ....
= date 2006-01-10 - Configuration actuelle =
wrt (freifunk)
2.4 ghz, canal 1. BSSID indiqué dans l'interface web (11:11...)
antenne omnidirectionelle ( ? db)
*ip wifi 10.8.39.138
*ip lan 192.168.39.55
relié par ethernet à une soekris 4511 (1 minipci, 1 pcmcia)
soekris (voyage 0.2-10 - www.voyage.hk)
une carte SR5 minipci. 5 ghz, canal 149.
pour le moment en ap "josaphatmaster"
antenne omnidirectionelle (pacwireless 12 db)
*ip lan 192.168.39.1
*ip wifi 192.168.38.1
dans les deux cas, +/- 6 m de câble (référence?) terminés par un N mâle.
= date 2006-01-10 - Il est toujours la détails de la configuration actuelle =
Intervenants :ivan et cedric mais david écrit ;)
*à l' heure actuelle c' est un wrt54gs avec openwrt je pense
*relié a une soekris+sr5
*ip lan du wrt 192.168.39.55
*ip lan de la soekris 192.168.39.1
*ip wifi de la soekris 192.168.38.1
voila on remet la maintenance a partir d aujourd hui en route.
dako
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
1479
1478
2007-01-10T23:16:48Z
Cedricnet
5
/* A faire */
wikitext
text/x-wiki
= A faire =
* 5Ghz
* modifier le bssid dans l'interface web pour CA:FE:CA:FE...
* Cédric, sur place, régler le watchdog
*
* ....
= date 2006-01-10 - Configuration actuelle =
wrt (freifunk)
2.4 ghz, canal 1. BSSID indiqué dans l'interface web (11:11...)
antenne omnidirectionelle ( ? db)
*ip wifi 10.8.39.138
*ip lan 192.168.39.55
relié par ethernet à une soekris 4511 (1 minipci, 1 pcmcia)
soekris (voyage 0.2-10 - www.voyage.hk)
une carte SR5 minipci. 5 ghz, canal 149.
pour le moment en ap "josaphatmaster"
antenne omnidirectionelle (pacwireless 12 db)
*ip lan 192.168.39.1
*ip wifi 192.168.38.1
dans les deux cas, +/- 6 m de câble (référence?) terminés par un N mâle.
= date 2006-01-10 - Il est toujours la détails de la configuration actuelle =
Intervenants :ivan et cedric mais david écrit ;)
*à l' heure actuelle c' est un wrt54gs avec openwrt je pense
*relié a une soekris+sr5
*ip lan du wrt 192.168.39.55
*ip lan de la soekris 192.168.39.1
*ip wifi de la soekris 192.168.38.1
voila on remet la maintenance a partir d aujourd hui en route.
dako
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
1480
1479
2007-01-10T23:18:01Z
Cedricnet
5
/* A faire */
wikitext
text/x-wiki
= A faire =
* 5Ghz
* modifier le bssid dans l'interface web pour CA:FE:CA:FE...
* Cédric, sur place, régler le watchdog
* chez Ivan : remettre en route le pc qui s'y trouvait (le pc attends chez Ivan)
* ....
= date 2006-01-10 - Configuration actuelle =
wrt (freifunk)
2.4 ghz, canal 1. BSSID indiqué dans l'interface web (11:11...)
antenne omnidirectionelle ( ? db)
*ip wifi 10.8.39.138
*ip lan 192.168.39.55
relié par ethernet à une soekris 4511 (1 minipci, 1 pcmcia)
soekris (voyage 0.2-10 - www.voyage.hk)
une carte SR5 minipci. 5 ghz, canal 149.
pour le moment en ap "josaphatmaster"
antenne omnidirectionelle (pacwireless 12 db)
*ip lan 192.168.39.1
*ip wifi 192.168.38.1
dans les deux cas, +/- 6 m de câble (référence?) terminés par un N mâle.
= date 2006-01-10 - Il est toujours la détails de la configuration actuelle =
Intervenants :ivan et cedric mais david écrit ;)
*à l' heure actuelle c' est un wrt54gs avec openwrt je pense
*relié a une soekris+sr5
*ip lan du wrt 192.168.39.55
*ip lan de la soekris 192.168.39.1
*ip wifi de la soekris 192.168.38.1
voila on remet la maintenance a partir d aujourd hui en route.
dako
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
1481
1480
2007-01-10T23:23:29Z
Cedricnet
5
/* date 2006-01-10 - Configuration actuelle */
wikitext
text/x-wiki
= A faire =
* 5Ghz
* modifier le bssid dans l'interface web pour CA:FE:CA:FE...
* Cédric, sur place, régler le watchdog
* chez Ivan : remettre en route le pc qui s'y trouvait (le pc attends chez Ivan)
* ....
= date 2006-01-10 - Configuration actuelle =
wrt (freifunk)
2.4 ghz, canal 1. BSSID indiqué dans l'interface web (11:11...)
antenne omnidirectionelle ( ? db)
*ip wifi 10.8.39.138
*ip lan 192.168.39.55
relié par ethernet à une soekris 4511 (1 minipci, 1 pcmcia)
soekris (voyage 0.2-10 - www.voyage.hk)
une carte SR5 minipci. 5 ghz, canal 149.
pour le moment en ap "josaphatmaster"
antenne omnidirectionelle (pacwireless 12 db)
*ip lan 192.168.39.1
*ip wifi 192.168.38.1
dans les deux cas, +/- 6 m de câble (ecoflex) terminés par un N mâle.
= date 2006-01-10 - Il est toujours la détails de la configuration actuelle =
Intervenants :ivan et cedric mais david écrit ;)
*à l' heure actuelle c' est un wrt54gs avec openwrt je pense
*relié a une soekris+sr5
*ip lan du wrt 192.168.39.55
*ip lan de la soekris 192.168.39.1
*ip wifi de la soekris 192.168.38.1
voila on remet la maintenance a partir d aujourd hui en route.
dako
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
1491
1481
2007-01-12T11:38:27Z
Cedricnet
5
/* A faire */
wikitext
text/x-wiki
= A faire =
* 5Ghz
* modifier le bssid dans l'interface web pour CA:FE:CA:FE... / ok
* Cédric, sur place, régler le watchdog
* chez Ivan : remettre en route le pc qui s'y trouvait (le pc attends chez Ivan)
* ....
= date 2006-01-10 - Configuration actuelle =
wrt (freifunk)
2.4 ghz, canal 1. BSSID indiqué dans l'interface web (11:11...)
antenne omnidirectionelle ( ? db)
*ip wifi 10.8.39.138
*ip lan 192.168.39.55
relié par ethernet à une soekris 4511 (1 minipci, 1 pcmcia)
soekris (voyage 0.2-10 - www.voyage.hk)
une carte SR5 minipci. 5 ghz, canal 149.
pour le moment en ap "josaphatmaster"
antenne omnidirectionelle (pacwireless 12 db)
*ip lan 192.168.39.1
*ip wifi 192.168.38.1
dans les deux cas, +/- 6 m de câble (ecoflex) terminés par un N mâle.
= date 2006-01-10 - Il est toujours la détails de la configuration actuelle =
Intervenants :ivan et cedric mais david écrit ;)
*à l' heure actuelle c' est un wrt54gs avec openwrt je pense
*relié a une soekris+sr5
*ip lan du wrt 192.168.39.55
*ip lan de la soekris 192.168.39.1
*ip wifi de la soekris 192.168.38.1
voila on remet la maintenance a partir d aujourd hui en route.
dako
= date 05 - heure - Intervention distante/sur place =
Intervenants : .....
* Détails de l'intervention
* .......
= 13 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur josaphat/joske/panik
= 31 Janvier 05 - 10h - Intervention distante =
Intervenants : Guy
* Remise en route d'aodv sur josaphat et panik
= 30 Janvier 05 - 13h - Intervention sur place =
Intervenants : Jean-Michel (panik), Serge (panik), Gwen (panik), Ivan
* Arrêt des routeurs de rc
* Remise en fonction du faisceau analogique 2,4Ghz de panik
* Redémarrage des routeurs rc
Remarque : le fonctionnement des routeurs rc ne pertubent pas la transmission du faisceau et la qualité d'émission de Radio panik est très bonne :)
= 23 Janvier 05 - heure - Intervention sur place =
Intervenants : Mathieu, Guy, Ivan
Essais d'antennes connectées au portable de Mathieu
* Essai 9dB 7° down tilt - Connexion légèrement meilleur. Cela vaudra donc la peine de remplacer la 12dB par celle-ci
* Essai d'une omnifacile2 prêtée pour essai. Résultat très acceptable pour 0° tilt vers Panik et acceptable aussi vers Bulles
* Essai d'une antenne Linksys 7dB. 0° de perte vers Bulles. Pourrait remplacer les 9dB et même la 8dB de Stephan.
= 21 Janvier 05 - 14h - Intervention distante =
Intervenants : Ivan
* Changemant de l'IP de l'interface eth0 de 192.168.0.109 en 192.168.1.130 via rc.
* Changement du fichier /etc/network/interfaces en fonction de ce changement d'IP
* Essai ssh entre les 2 machines concluant.
= 21 Janvier 05 - 11h - Intervention sur place =
Intervenants : Ivan
* Placement d'un câble Ethernet crossconnect entre les machines : josaphat et joske
* Remplacement de l'ampoule d'éclairage du local technique.
= 12 Janvier 05 - 13h30 à 16h - Intervention sur place =
Intervenants : David, Ivan
* Ajout d'une antenne 12dB 3° down tilt connectée routeur déjà installé sur lequel est installé le player ogg123 - IP : 10.8.39.138
* Placement d'un deuxième routeur, un portable de récup muni d'une carte engenius et relié à l'ancienne antenne de 9dB 0° tilt - IP : 10.6.13.115
* Remarque 1 : il y avait du vent et nous avons pu constater que le mât oscillait assez fort. Il sera donc exclu de placer une grid, sauf si nous pouvons la mettre tout en bas du mât, place occupé pour le moment par la grid du faisceau.
* Remarque 2 : l'ecoflex est un très bon produit et les connecteurs, ne nécessitant pas de soudure, sont très faciles à installer sur site. Se munir de 2 clefs de 19.
= 10 Janvier 05 - 21H - Intervention distante =
Intervenant : Philippe -- Analyse du problème rapporté par Ivan
== Observations ==
L'incident démarre le 10 Janvier à 1:55:
Jan 10 01:55:40 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:40 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:40 josaphat kernel: hostap_cs: wifi0: resetting card
Jan 10 01:55:42 josaphat kernel: NETDEV WATCHDOG: wifi0: transmit timed out
Jan 10 01:55:42 josaphat kernel: wifi0 Tx timed out! Resetting card
Jan 10 01:55:43 josaphat kernel: wifi0: interrupt delivery does not seem to work
Jan 10 01:55:43 josaphat kernel: wifi0: Port type setting to 0 failed
et se répète toutes les secondes
Le watchdog Net détecte un problème et le noyeau tente un reset de la carte, mais sans succès
Le watchdog software (''!CheckAodv'') entre en jeu et redémarre l'interface:
Jan 10 03:52:38 josaphat logger: CheckAodv: No neighbourg responding
Jan 10 03:52:38 josaphat logger: CheckAodv: Alone too long...
Jan 10 03:52:38 josaphat logger: CheckAodv: Restarting interface
Jan 10 03:52:38 josaphat logger: /usr/local/bin/CheckAodv: line 81: ifdown: command not found
Jan 10 03:52:43 josaphat logger: /usr/local/bin/CheckAodv: line 83: ifup: command not found
Il s'agit d'un probléme connu que je n'ai pas corrigé: le ''path'' est incomplet lors de l'exécution du script.
L'interface est redémarée manuellment par Ivan à 14:55:
Jan 10 14:54:59 josaphat kernel: wlan0: updating basic rate set automatically to match with the new supported rate set
Jan 10 15:07:03 josaphat logger: CheckAodv: All checks passed
== Root Cause ==
La cause du problème initial est jusqu'a présent inconnue (je n'ai pas fait de recherche détaillée)
== Corrective Action ==
Le ''crontab'' du watchdog software (''!CheckAodv'') est mis-a-jour sur Josaphat et Panik de manière à avoir un ''path'' correct.
= 10 Janvier 05 -15H - Intervention sur place =
Intervenants : Ivan
* Constat distant : connexion down
* Sur place, les messages d'erreurs suivants défilent en continu sur l'écran :
**wifi0: interrupt delivery does not seem to work
**NET: 4 ou x messages suppressed
* Action : /etc/init.d/pcmcia restart
= 26/27 Décembre 04 - Intervention distante =
Intervenants : Philippe
* Activation du streaming en mode client (service stream-panik)
* Configuration de NTP
= 25 decembre 04 - 21H50 - Intervention distante =
Intervenants : Guy
* Installation d'iperf par apt le demon n'est pas lancé automatiquement.
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface''). <br />Il est intéressant de constater que si les voisins directs ont l'air d'être aussi en 2Mb/s, Josaphat reste en 1Mb/s
* Mise a jour de ''/etc/hosts''
= 11 novembre 04 - 19h00 - Intervention distante =
Intervenant : Philippe
* Installation d'un script de monitoring de AODV.<br />L'interface est réinitialisé si:
*** AODV ou un de ses modules n'est plus présent
*** Il ne sait pas contacter un de ses voisin (back/bulles/panik) pendant plus de 2 heures
La sortie du script est consignée dans ''/var/log/messages'' donc on peux voir s'il y a eu un problème.
= 09 novembre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Le point ne connectait plus le reste du reseau pour une raison bien simple aodv ne tournait plus.<br />Pourquoi aodv ne tournait-il plus, cela est une autre question.<br />J'ai téléchargé tous les logs de la machine et je n'ai rien trouvé qui indique le plantage ou l'arrêt de aodv.<br />Pour le reste la machine tournait sans aucun problème la seule action que nous avons effectuée sur la machine
* Nous avons ecarté l'antenne du mat grâce a une patte d'écartement. L'antenne est en outre montée de 30 cm cela peut sembler ridicule mais les deux actions conjugées ont fait que maintenant Louise et philantropie ne sont plus qu'as un hop de Josaphat, Prague a 2 hop de Josaphat. <br />La conexion est certe très mauvaise mais étant donné que le point Tagawa est down pour l'instant ....
= 03 octobre 04 - 14h30 - Intervention sur place =
Intervenants : Guy, Ivan
* Placement de la bande de protection du connecteur d'antenne
* Placement du capot du PC (arrêt du pc, déconnexion du cable et remontage)
[[Category:Gestion RéseauCitoyen]]
Rg Flash
0
1297
1457
1407
2006-11-23T09:44:07Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
[[Category:RC-1000]]
= Introduction =
[http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till Straumann] has made a very good work to allow to run [http://www.etherboot.org Etherboot] from the RG-1000.
The nice thing is that the code is prepended to the original firmware, and Till's ''initial loader'' allows you to choose between [http://www.etherboot.org Etherboot] and the original firmware.
Although Till's work could be used ''as is'', I have ported the changes to [http://www.etherboot.org Etherboot] 5.2.3 (from 5.0.0), and dropped the features I was not using (mainly the possibility to [http://www.etherboot.org Etherboot] wireless).
http://www.plasma-online.de/index.html?content=http%3A//www.plasma-online.de/english/upgrade/tweak/fixes/fix_apple_airport.html
= Initial Loader =
No particular issue here, I just made minor modifications:
* Makefile and directory structure changed.
*** We try do download the !KarlBridge firmware directly from Internet
*** Directory layout changed (''bin'' and ''firmware'' are ignored by CVS, which makes things easier)
* The loader accept lowercase characters (I was tired to press the ''shift'' key)
* The NVRAM data is not extracted anymore at this place -- we are not using it anyway
= Etherboot =
The porting to [http://www.etherboot.org Etherboot] 5.2 has been a major headache...
<br />The RG-1000 crashed at the very beginning. It took me at least a week to understand where it crashed (enabling interrupts in real mode), and more than a week to try to fix it until I realized that Till's original version did not work either under the same circumstances!
/!\ '''After flashing the firmware, the RG-1000 must be powered off!'''
The original !KarlBridge firmware does not seem to have a problem with that, but [http://www.etherboot.org Etherboot] will definitely not run after a firmware upgrade until the RG-1000 is powered off.
<br />I should have know, it is stated in Till's pages...
The main changes to the ''stock'' [http://www.etherboot.org Etherboot] are:
* Configuration files
* Patches to the Lance network driver
[http://www.etherboot.org Etherboot] 5.2 is running 'as good as' 5.0 -- what I mean by that is not always initialized properly after a cold boot; but works after a reset.
<br />This needs further investigations.
Compared to the original changes made by [http://www-hft.ee.tu-berlin.de/~strauman/airport/airport.html Till], I have dropped significant part of his code:
* Support for booting from the wireless device. <br />Although it looks attractive, we would need to have anyway another node in the area which accepts non-AODV requests. This can be a nice-to-have, but out-of-scope at this time...
* Checksum on packet received. <br />This is mainly useful when you boot wireless.
* Handling of the NVRAM data (not) saved by the loader
[[Anchor(Flash)]]
= Flashing the RG-1000 =
You need:
* A client tool to upload the new firmware. <br />I am using the java-based [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] (GPL). <br />All the screenshots from this page are based on this tool. <br /> /!\ If the home page of the ''RG-1000 Configurator'' is not accessible, you can download it from [http://reseaucitoyen.be/diskless/rc1000/ here].
* The new firmware, which is a bundle: ''Initial Loader''/[http://www.etherboot.org Etherboot]/!KarlBridge <br />It is included in the ''RC-1000'' [http://reseaucitoyen.be/diskless/rc1000/ distribution package].
Several cases are possible, depending on the initial state of your RG-1000.
== Original Orinoco Firmware ==
I have no clue on what the original firmware is, I never tried it!
If the hardware of the RG-1000 is the same as the Apple Airport, it does not seem that they are using the same firmware.
As far as I know, the only way to flash the RG-1000 with a custom firmware is to use the [[#ForcedReload forced reload]] procedure as described hereunder.
As illustrated here, you can use the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] to ''talk'' to the RG-1000, '''but you will not be able to flash it''': the flash procedure works, but at the end, you still have the original firmware. It looks like it does not want to flash a non-Orinoco firmware...
# Start the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] <br />http://reseaucitoyen.be/albums/rg1000/aau.png
# Select ''Discover Devices'' (I have a DHCP server in my network) <br />http://reseaucitoyen.be/albums/rg1000/aav.png <br />Note the 6 hex digits numbers at the end of the ''Device Name'' line (059c62 here): this is the ''Id'' of your RG-1000. It is also printed out on the labels that are under and behind the device. It is actually the initial '''password''' (Community Name) and by the way the last 3 bytes of the mac address of the wireless card (the ones we are using to set the IP :-? ). <br />Thanks to [[RC/PhilippeTeuwen|PhilT]] for this information.
# On the main page you can then enter the IP and password you ''discovered'' and ''retrieve configuration''<br />http://reseaucitoyen.be/albums/rg1000/aaw.png
# That's it! as said above, you will not be able to flash the RG-1000 from here, so it is it is time to say goodbye to the original firmware and proceed to the next section: the [[#ForcedReload forced reload]] procedure
[[Anchor(ForcedReload)]]
== Forced Reload Procedure ==
You will have to use this procedure if for whatever reason your firmware is dead (uploaded bad firmware) or if you have the original Orinoco firmware on your RG-1000.
# Power off your RG-1000
# Press the ''Force Reload'' button '''and keep it pressed'''<br />http://reseaucitoyen.be/albums/rg1000/aag.sized.jpg
# Power the device on
# Wait until the ''Power'' LED turns orange, all others off
# Release the the ''Force Reload'' button
# Start the [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] <br />http://reseaucitoyen.be/albums/rg1000/aau.png
# Select ''Discover Devices'' <br />http://reseaucitoyen.be/albums/rg1000/aba.png <br />Note that the output is not the same as before (a.o. DHCP is not used).
# To be able to upload the new firmware, you will have to be in the '''same subnet'''!<br />At this time, reconfigure your interface. On Linux, you can do that very easily by adding a ''virtual'' interface:<br />
# ifconfig eth0:1 153.69.254.1 up
# Enter the IP address of the RG-1000 (153.69.254.254) and the password (use '''public''') in the configurator
# From the ''File'' menu, select ''Upload new base station firmware'' <br />http://reseaucitoyen.be/albums/rg1000/abb.png
# Select the new firmware <br />http://reseaucitoyen.be/albums/rg1000/abc.png
# Select Upload firmware with default settings <br />http://reseaucitoyen.be/albums/rg1000/abd.png
# The RG-1000 will reboot <br />http://reseaucitoyen.be/albums/rg1000/abe.png
# At this stage, do not forget to '''power-off''' the device or the customized firmware will not work (crash in [http://www.etherboot.org Etherboot])
/!\ Note that by default, the RC-1000 customized firmware boots by default with [http://www.etherboot.org Etherboot] and does '''not''' load !KarlBridge. If you still want to load !KarlBridge, you have to disconnect the network cable at boot time.
== KarlBridge Firmware ==
Once you have the !KarlBridge firmware running (either the pristine !KarlBridge or the RC-1000 customized) you can very easily flash new firmwares -- just use the java-based [http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ RG-1000 Configurator] without any special trick.
Bubble development
0
1283
1458
1406
2006-11-23T09:44:10Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
This article describes the development architecture and requirements to '''develop''' and '''build''' the [[Bubble]] distribution.
If you are interrested in configuring a [[Bubble]] node, see the [[Bubble install guide]].
= From DiskLess to Bubble =
This section describes the major changes between [[DiskLess]] and [[Bubble]]
High level milestones:
* [[DiskLess]]: The initial Version
* [[Bubble]] v1.99: Intermediate version -- never released
* [[Bubble]] v2.x: Current version in development
== Configuration ==
* The [[Bubble configuration file]] used to have both build and runtime parameters. Now we have:
** Build parameters included in the [[BuildRoot]] configuration
** Runtime parameters associated with their respective packages. <br />Each package has its own configuration template. A [[Bubble configuration file]] is the concatenation of all (filled) templates.
** We have also added more informational fields, like version, dependencies, ...
* The current [[Bubble configuration file]] is in '.ini' format. <br />We had a debate for wether or not introduce XML. It has been decided to stick to the .ini format for the time being:
** The XML format does not bring additional functionalities and we already do have a .ini parser.
** Since the parsing is isolated in the code anyway, we can change at a later time without impacting the project
* Project: Rebuild a Web based configuration tool (We used to have one in [[DiskLess]])
* Project: Command line configuration tool -- possibly available on the target node.
* Project: Auto-configuration tool (a generic bootable CD that would build [[Bubble configuration file]] suitable for the machine)
== Build architecture ==
Upgraded to the new [http://buildroot.uclibc.org/ uClibc BuildRoot] (major architecture change!)
High level overview:
* Core packages are built and installed in the ''root'' image (no changes from 1.99)
* Non-core packages are built and installed in separate package files using additional target in the makefile (less destructive)
* For the ''bubble'' makefile target, instead of building a node image, now we:
** Just generate the ''root FS'';
** Save [[BuildRoot]] environement in a file;
** The final ''packaging'' is done by script, in a separate area leaving the ''root'' directory untouched.<br />This way, we can easily generate standard images, and build special ones on the fly.
** Driver packages are built by a script as well and no more at built-time as before.
== Runtime architecture ==
* No change foreseen
== Functionnalities ==
* No change foreseen
* Test on [http://soekris.com/ Soekris] and [http://pcengines.ch/wrap.htm WRAP]
= Requirements =
[[Bubble]] is developped in a [http://www.debian.org/releases/sarge/ Debian Sarge] environment, but should build on any Linux platform.
The packages used are:
* Development Packages
** base system -- Gnu-Linux system with the ''standard'' utilities installed<br />Not detailed here...
** gcc
** make
** autoconf
** flex
** bison
** perl
** libncurses5-dev -- To configure buildroot
** wget -- To get the sources
** fakeroot -- To generate the packages
** cvs -- If you just want to build, you do not need CVS, just grep a tarball of the distribution!
* Build time (to build the images)
** syslinux -- [http://syslinux.zytor.com/faq.php SysLinux] is used to package the images
** mkisofs -- To build [http://syslinux.zytor.com/iso.php ISOLinux] images
** mknbi -- To tag [http://www.etherboot.org/ Etherboot] images
* Web Deployment -- For the web user interface (Not available yet)
** apache
** php4
** php4-curl
* Runtime -- To run the NetworkBoot images
** dhcp3-server -- The DHCP server
** tftpd-hpa -- TFTP server compliant with PXE
= Core System =
The core system (kernel/initrd/boot scripts) is developed with the BusyBox/uClibc BuildRoot.
(Essentially using what has been done for DiskLess)
= Packages =
Obviously we want to build the packages using the same environment, but they should not be installed into the same 'root' directory
BubblePackage describes the packages structure
= Directory structure =
In the development environment the directory structure for DiskLess looks like this:
${BULLES_HOME}/ Contains all the development environment (around 1GB)
bin/ Utility scripts
buildroot/ The uClibc buildroot
The filesystem layout from uClibc is preserved
patches/ Patches for the buildroot (Changes from the original uClibc buildroot)
The directory contain one file per file to be patched (<filename>.patch)
(We need to review this: there is conflict if we need to patch 2 files
having the same name -- e.g. 2 Makefile)
add-ons/ Add-ons for the buildroot (Additional files for the uClibc buildroot)
The directory structure under add-ons is identical to the buildroot one.
sources/ All the sources dowloaded for the buildroot (used as 'cache')
rc_web/ PHP User interface to generate custom core packages
The entire <tt>${BULLES_HOME}</tt> is under CVS, but obviously <tt>buildroot</tt> and <tt>sources</tt> are ignored.
This is working OK, but the use of scripts to maintain the CVS is not error-prone...
Therefore, in Bubble, we import the uClibc [[BuildRoot]] as a third party (See the [http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_System_v1.12.12.1:_Tracking_third-party_sources -- Chap. 13]).
Advantages:
* The revision management is now very simple (or at least it should be)
* Bubble is more stable (changes to the pristine [[BuildRoot]] are imported in a controlled way)
Areas of attention:
* More files in the CVS (But this is not huge)
* The merge of new versions of the [[BuildRoot]] need to be done with care
The Bubble directory structure is now simplified:
${BUBBLE_HOME}/ Contains all the development environment (around 1GB)
bin/ Utility scripts
(Not imported yet)
buildroot/ The uClibc buildroot
The filesystem layout from uClibc is preserved
www/ PHP User interface to generate custom core packages
The entire <tt>${BUBBLE_HOME}</tt> is under CVS, including the [[BuildRoot]] (See the [[BuildRoot]] page for the directory layout).
= Utility scripts =
With the new CVS approach, all the [[DiskLess]] scripts are now obsolete!
'''To do''': Describe the new utilities
= CVS =
[http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble/ Browse the CVS]!
The path in the CVS is <tt>ReseauCitoyen/Bubble</tt>
<br />Module name: <tt>bubble</tt> (or <tt>Bubble</tt>)
[[Category:Bubble]]
Logiciel Panik
0
1306
1459
1405
2006-11-23T09:44:13Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Base =
La base installée est une [http://www.debian.org Debian] Sarge
= Packages installés =
En plus de l'installation de base de Sarge, les packages suivants sont installés:
<br />Pour faciliter la maintenance, on vise une installation '''minimale'''...
== Installation typique d'un noeud ==
* Système
** bzip2
** (gawk)
** less
** iptraf
** modconf
** nmap
** tcpdump
** traceroute
** ssh
* Wifi
** kismet n'est pas installé car les dépendances sont trop nombreuses ( @) il semble que dans Sarge kismet dépende de X)
** iperf
** wavemon
** wireless-tools
* NTP
** ntp
** ntp-server
** ntp-simple
** ntpdate
* Divers
** links
== Besoins particuliers ==
Les paquets suivants ne sont installés que si nécessaire:
* Supervision de processus
** daemontools
** svtools
* Audio
** aumix
** cdtool
** sox
** vorbis-tools
* Portables Toshiba
** toshset (permet d'activer le ventilateur, etc, ....)
= Noyeau =
Nous utiliserons un noyeau 2.4.27 qui est actuellement la dernière version stable de la série 2.4.
Particularités:
* Compilé pour une architecture i386 de manière a tourner su n'importe quel hardware
* Patches Debian
* Patch Orinoco pour le support du mode moniteur (kismet)
* Drivers [http://hostap.epitest.fi/ HostAP] 0.2.4
* Utilisation des drivers PCMCIA du noyeau
= AODV =
On utilise RC:AodvUu dans sa dernière version: 0.8.1
Le démarrage d'AODV se fait via les scripts ifupdown (voir RC:InstallerAodvUu / Binaires pour Debian)
= Streaming =
Nous avons donc 3 machines en jeu:
* '''Studio''' qui fournit le stream
* '''Panik''' ne sert que de passerelle entre le RC:ReseauCitoyen et '''Studio'''
* '''Josaphat''' machine client
La suite logicielle utilisée est [http://www.icecast.org/ices.php Ices 2] / [http://www.icecast.org IceCast] / [http://www.vorbis.com OggVorbis]
= Configuration des Systèmes =
== Généralités ==
Le fichier RC:FichierHostsPointsBleus est utilisé
<br />Les requetes DNS sont désactivées dans ''/etc/nsswitch.conf'' afin d'éviter des requètes DNS non désirées.
== Studio ==
=== Configuration ===
Pour réaliser les tests, j'ai configuré une machine en serveur [http://www.icecast.org IceCast]:
* [http://www.icecast.org/ices.php Ices 2] lit l'entrée ligne de la carte son, fait le rééchantillonage, l'encodage OGG et fournit l'entrée à [http://www.icecast.org IceCast]
* [http://www.icecast.org IceCast 2.0.1] diffuse le stream
On utilise aumix pour sélectionner la source et régler le volume. Points importants:
* La source à diffuser est celle qui est marquée comme 'R' (Record) dans aumix
* La seule façon de régler le volume pour [http://www.icecast.org/ices.php Ices] est le curseur ''IGain''. Les autre curseur n'influencent que la sortie son 'locale'. <br />Le son au départ était trop fort, il a fallu diminuer pour éviter de saturer (curseur ''IGain'' sur 50/60%)
L'encodage [http://www.icecast.org/ices.php Ices] prend environ 6% du cpu du serveur (AMD 1GHz), l'impact de [http://www.icecast.org IceCast] est négligeable.
<br />Par contre sur un Pentium 133MHz, [http://www.icecast.org/ices.php Ices] utilises 60 à 70% des resources!
La machine utilise Panik comme gateway vers le RC:ReseauCitoyen:
route add -net 10.0.0.0/8 gw 192.<panik>
=== Maintenance ===
Pas de maintenance particulière -- s'assurer que la route vers le RC:ReseauCitoyen est toujours définie. Le plus simple est de l'ajouter dans ''/etc/network/interfaces''; par exemple:
auto eth0
iface eth0 inet dhcp
up route add -net 10.0.0.0/8 gw 192.<panik>
== Panik ==
=== Configuration ===
La configuration du noeud est assez simple. Le seul point particulier est la configuration de la passerelle vers ''Studio''.
<br />Comme on ne peux pas faire ''simplement'' une passerelle avec RC:AodvUu, Panik fait du DNAT pour donner acces au stream:
iptables -t nat -I PREROUTING -i wlan0 -s 10.<josaphat> -p tcp --dport 8000 -j DNAT --to 192.<studio>:8000
et Masquerade le sous-réseau privé:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o wlan0 -j SNAT --to 10.<panik>
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.128).
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.154.69.107)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
== Josaphat ==
=== Configuration ===
On utilise le décodeur ogg123 de [http://www.vorbis.com OggVorbis] pour la lecture du stream (voir ci-dessous pour les détails).
<br />L'adresse du serveur est celle de ''Panik'' qui relaie vers ''Studio''
ogg123 -v http://10.<Panik>:8000/ReseauCitoyen.ogg
Le niveau sonore est ici aussi ajusté via aumix. c'est l'entrée ''PCM'' qu'il faut ici ajuster.
Le délais entre l'émission et la réception est d'environ 10 secondes.
<br />Même avec un bit rate relativement faible (qualité 0, débit d'environ 35 kbps, en mono) la qualité du son est impecable.
Ogg123 utilise environ 5% du CPU de la machine (Pentium 200 MHz)
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.129) -- Non utilisé.
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.8.39.138)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
Pour s'assurer que ogg123 tourne en permanence, il est supervisé par les [http://cr.yp.to/daemontools.html DaemonTools] et est rédémaré en cas de problème.
<br />Quelques pointeurs utiles:
* La ligne de commande exacte pour démarrer ogg123 se trouve dans le fichier ''/etc/sv/Stream Panik/run''. <br />Pour des raisons pratiques ce script ne contient que l'appel de ''/usr/local/sbin/stream-panik''. Ce dernier devra être adapté:
** en fonction de la fréquence de l'échantillonage de la source [http://www.icecast.org/ices.php Ices2] (initialement configuré pour 22050 Hz);
** si l'adresse de ''Panik'' change
* Le service est redémarré tous les jours à 3:30 du matin, de manière à ''rafraichir'' ogg123. Cela est configuré dans le ''cron'', fichier: ''/etc/cron.d/stream-panik''
* Arrêt / Démarrage / Re-demarage: <br />''/etc/init.d/stream-panik {start|stop|restart}''
* Activation / Désactivation (lorsque le service est ''désactivé'', il n'est plus démarré au boot, ni redémarré la nuit. Si on ne se sert pas du streaming, il faut le désactiver sinon il va tenter de le démarrer indéfiniment): <br />''/etc/init.d/stream-panik {enable|disable}''
* Voire les logs: <br />''mltail Stream Panik''
/!\ '''En cas de problème de streaming''': pour le redemarrer il faut:
* Soit ''tuer'' le client dans [http://www.icecast.org IceCast], le stream sera redémarré automatiquement
* Soit executer la commande suivant sur ''josaphat'': <br />''/etc/init.d/stream-panik restart''
= Problèmes rencontrés et Solutions =
== Décalage dans le stream ==
Après environ 12 heures de streaming, les buffers (Input et Output) de ogg123 se sont retrouvés proches de 0%, avec pour conséquence de légères coupures dans la restransmition. <br />Si le problème se résoud facilement par un re-démarrage de ogg123, cela pose un problème pour une utilisation 24h/24h.
'''D'où vient le problème?''' Ce n'est pas un problème de bande passante, la demande su stream est faible. Pour s'en convaincre, on peux réduire la vitesse du lien (`iwconfig rate 2M`) et démarrer un second ogg123 sans affecter la performance.
Une interprétation est que Josaphat joue légèrement plus vite que Studio ne produit: en effet, Josaphat ne peut lire plus vite que ce qui est disponible et au fil des heures on voit le buffer d'entée diminuer; lorsque le buffer d'entrée atteint 0, la vitesse de conversion ogg diminue puisque le convertisseur doit attendre des données; on voit alors le buffer de sortie qui n'est plus approvisionné au même rythme qu'il est vidé et il commence lui aussi à se vider. Lorsque les 2 buffers sont vides il n'y a plus rien à diffuser et donc on a des microcoupures dans le son...
<br />Une autre interprétation est qu'un décalage est introduit par Studio lors du re-sampling entre l'entrée et la sortie dans [http://www.icecast.org/ices.php Ices2] (48k vers 24K ici). Si la carte son n'est pas '''exactement''' sur 48k, on va générer un décalage.
<br />Dans notre cas, la première option est à priviligier -- le décalage étant pratiquement inexistant avec ogg123 tournat sur un autre PC.
Pour être complet, cela n'a pas l'air d'être lié à l'horloge du PC: j'ai synchronisé les 2 machines avec [http://www.ntp.org/ NTP] et cela ne change rien.
'''Comment y remédier?''' Je présume qu'il est pratiquement impossible d'avoir des systèmes parfaitements synchronisés. On pourrait envisager une amélioration de ogg123 qui dans ce cas de figure ''recharge'' ses buffers plutôt que de continuer à travailler à la limite. Sans toucher au software on peut:
* Augmenter la taille des buffers. <br />Cela ne fait que de reporter le problème et augmente légèrement le décalage du stream, mais c'est toujours ça de gagné!
* Augmenter le ''pre-buffering'' de manière a mieux utiliser le buffer d'input. <br />''Attention toutefois à ne pas avoir le phénomène inverse au cas où, en changeant de hardware, le lecteur serait plus lent...''
* Redémarrer ogg123 toutes les nuits. <br />Avec une interruption de retransmission de quelques secondes. Ce n'est pas l'idéal mais je ne vois pas d'alternative dans l'immédiat.
Concernant la taille des buffers, la lecture des sources nous révèle que:
* La taille par défaut buffer d'entrée est de 64k
* La taille par défaut buffer de sortie est de 128k
* Le ''pre-buffering'' par défaut est de 50%
Comme nous ne sommes pas trop limités en mémoire sur Josaphat, j'ai effectué un test avec 256k pour l'entrée, 512k pour la sortie avec un ''pre-buffering'' de 75% (comme le buffer d'entrée remplit en une fois le buffer de sortie, il se vide de 25% pratiquement en une fois et se stabilise aux alentours de 50-55%).
<br />Ce test de 24 heures confirme les premières observation: avec le hardware utilisé, le lecteur (Josaphat) lit une seconde plus vite par heure que le serveur de stream (Studio), donc de manière régulière: 12 secondes après 12 heures et 24 en 24 heures. Le buffer d'entrée lui a perdu 30-35% de sa capacité, soit 80-90 kB, ce qui est consistant avec le débit: 24 s à 30 kbps = 90 kB.
<br />Donc un buffer d'entrée de 256k rempli à 50% au départ permet sans problème une déviation de +/- une seconde par heure sur 24 heures.
<br />La grande taille du buffer de sortie n'apporte rien ici, si ce n'est un décalage excessif entre le direct et la diffusion (47 secondes au départ avec les paramètres ci-dessus).
<br />Les parametres recommandés pour ce bit rate sont donc:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 128 \
--device oss \
http://10.51.110.172:8000/ReseauCitoyen.ogg
Pour gérer tout cela, pas la peine de réinventer l'eau chaude, on utilise les [http://cr.yp.to/daemontools.html DaemonTools] de [http://cr.yp.to/djb.html D.J. Bernstein].
== Corruption du Stream ==
Les tests de longue durée ont révélé une corruption du stream -- probablement un bug dans la gestion des buffers de ogg123...
Après ''un certain temps'', un bruit parasite (un ''toc'') est introduit dans le stream. Le bruit se répète à intervalle régulier (à chaque ''tour'' dans le buffer).
J'ai effectué plusieurs tests, et ce problème est tout a fait reproductible: le stream est ''parfait'' jusqu'à un certain point, et une fois la corruption introduite, elle reste présente at garde le même cycle que la latence du stream (c'est-à-dire de plus en plus fréquent puisque le latence diminue avec la diminution de l'occupation du buffer du au problème précédent.
<br />La corruption se produit après environ 12:30 d'écoute (à affiner)
Ici aussi, une solution possible serait de redémarrer le stream toutes les 12 heures, mais cela implique une interruption en journée.
'''Cause du problème''': Nous avons un streaming à 24 kHz en 16 bits mono (1 canal). Cela nous fait 384 kbps; on atteind donc 2 GB en 12h 25m 39s!
<br />La cause est plus que probablement un dépassement d'entier signé sur 32 bits. Reste à trouver où!
Quelques observation:
* [http://www.xmms.org/ XMMS] n'a pas ce problème -- j'ai ''joué'' plus de 39 heures parfaitement.
* Bien que la grande majorité drivers ''OSS'' comptent les bytes joués dans un ''int'' (''count_info.bytes''), cette information n'est disponible que via un ''ioctl'' que ogg123 n'utilise pas
* Un output via ''aRts'' au lieu de ''OSS'' en direct génère le même problème
* Un output via ''raw | sox'' au lieu de ''OSS'' en direct génère le même problème
(!) Nouveau (27-Sep-04): le by-pass du buffer de sortie de ogg123 semble résoudre le problème:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 0 \
--device raw -f - \
http://10.51.110.172:8000/ReseauCitoyen.ogg |
sox -t raw -r 24000 -w -s - -t ossdsp -r 48000 /dev/dsp
C'est un point important, car cela:
* précise où se situe le problème (ce n'est donc pas un problème de pilote OSS ou de décodage ogg)
* offre un ''workaround''
Le noeud est maintenant configuré de cette façon.
[[Category:Opération Panik]]
Tests Panik
0
1307
1460
1404
2006-11-23T09:44:16Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
Cette page reprend le schéma général des tests. Les problèmes/solutions sont décrits dans [[Matériel Panik]] et [[Logiciel Panik]]
= Semaine du 13 Septembre 2004 =
Tests hardware
= Semaine du 20 Septembre 2004 =
Test de streaming 24h/24h
Test de tous les systèmes dans leur configuration finale ''en labo''
= Semaine du 27 Septembre 2004 =
Tests de stabilité:
* tous les système sont en ''configuration réelle'': sans clavier / écran / ...
* déplacement du matériel pour
** Dégrader la qualité du signal Wifi
** Générer du routage AODV
** Diminuer le niveau sonore du labo (qui est mon lieu de travail) <br /> <br />La configuration physique est maintenant:
** Panik: garage (niveau 0)
** Perturbation: AP et client sur le canal 6 (niveau 1)
** Josaphat: niveau 2
** wrt-ivan (en mode RC:ReseauCitoyen): niveau 3
** [[RC:NoeudBulles]]: sur le toit
** Perturbation: 1 AP dans la rue (non identifié mais suffisemment proche pour avoir un bon signal)
[[Category:Opération Panik]]
Category:Bering-uClibc
14
1325
1461
1403
2006-11-23T09:44:19Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
Using Bering-uClibc for [http://www.reseaucitoyen.be RéseauCitoyen]
Category:Gestion RéseauCitoyen
14
1312
1462
1402
2006-11-23T09:44:21Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
Journaux d'interventions de noeuds [http://www.reseaucitoyen.be RéseauCitoyen]
1488
1462
2007-01-11T13:28:35Z
Dako
4
wikitext
text/x-wiki
Journaux d'interventions de noeuds [http://www.reseaucitoyen.be RéseauCitoyen]
en ce début 2007: cedricT et davidK vont tenter de maintenir a jour les pages de gestion des noeuds communautaires.
merci a philV pour l' hébergement.
1489
1488
2007-01-11T13:29:30Z
Dako
4
wikitext
text/x-wiki
Journaux d'interventions de noeuds [http://www.reseaucitoyen.be RéseauCitoyen]
en ce début 2007:
'''cedricT''' et '''davidK''' vont tenter de maintenir a jour les pages de gestion des noeuds communautaires.
merci a '''philV''' pour l' hébergement.
Opération Panik
0
1301
1463
1401
2006-11-23T09:44:25Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Operation Panik =
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Les informations relative a ce projet sont centralisées dans ce wiki.
= Index =
* [[Matériel Panik]]: matériel utilisé
* [[Logiciel Panik]]: configuration logicielle des systèmes
* [[Tests Panik]]: notes sur les tests effectués
* [[Installation Panik]]: notes relatives a l'installation sur site
* [[Déploiement Panik]]: Mise en production
= Etat d'avancement =
* Environnement défini
* Noyeau compilé
* Josaphat terminé
* Panik terminé
= A faire =
* Investiguer le bug ''ogg123'' (voire [[Logiciel Panik]] -- Faible priorité)
* Mettre la configuration en production
[[Category:Opération Panik]]
SysLinux boot
0
1293
1464
1400
2006-11-23T09:44:28Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
{{Outdated}}
= Booting from FAT filesystem =
[http://syslinux.zytor.com/faq.php SysLinux] is a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem.
<br />It allows bubble to boot from any FAT device:
* A floppy disk -- Probably the easiest way to start a bubble node. A single floppy is enough to run a full featured node. However if you want to run ''ssh'' or other ''big'' package, you will need more than one floppy, and your node will not be able to boot unattended anymore.
* A Compact Flash card -- If you have an IDE/CF-Card adapter, just grab an old 2 or 4MB CF-Card and your are ready!
* A hard disk -- may not be very useful, but why not...
= Bubble =
Here are the key Bubble parameters when you want to boot from FAT filesystem:
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|-
|'''Section'''||'''Parameter'''||'''Value'''||'''Description'''
|-
|[image]||type||syslinux||Image type will be [http://syslinux.zytor.com/faq.php SysLinux]
|-
|[image]||syslinux_module.list||e.g. msdos, floppy||The modules you need to access the device (''floppy'' in the example), and to support the FAT filesystem
|-
|[image]||syslinux_device||e.g. /dev/fd0||The device used used to mount the filesystem.<br /> /!\ Although this is a ''build-time'' parameter, you can always change the boot device in the [http://syslinux.zytor.com/faq.php SysLinux] configuration file (SYSLINUX.CFG) -- there is no need to regenerate an image
|-
|[packages] or in any package section||retry||n||Instruct the package installer to retry ''n'' times when installing a package (any package if the directive is set at [package] level). This allows floppy swap.
|}
= Common Cases =
The main advantage of booting from floppy is that you should be able to use the ready-made images!
== Standard floppy ==
The easiest case, the ''standard'' floppy (SA-400 interface).
You will have the following in your [[Bubble configuration file]]:
[image]
type = syslinux
syslinux_module.list = msdos
syslinux_module.list = floppy
syslinux_device = /dev/fd0
Pre-build image is available in the BubbleImage:core-images/floppy directory.
== USB floppy ==
Linux is supporting USB floppy through the sd SCSI driver.
You will have the following in your [[Bubble configuration file]]:
[image]
type = syslinux
syslinux_module.list = msdos
syslinux_module.list = sd_mod
syslinux_module.list = usb-storage
syslinux_module.list = usb-uhci # or usb-ohci
syslinux_device = /dev/sda
Pre-build image is available in the BubbleImage:core-images/floppy-usb-uhci or BubbleImage:core-images/floppy-usb-ohci directory.
== Compact Flash Card ==
<!> This has not been tested yet
The Compact Flash device is access through an IDE adpter, therefore Bubble just see it as an IDE hard disk.
You will have the following in your [[Bubble configuration file]]:
[image]
type = syslinux
syslinux_module.list = msdos
syslinux_module.list = ide-disk
syslinux_device = /dev/hda
Pre-build image is not yet available...
= How to make a Bootable Floppy =
You will need a system running Linux or DOS, and have [http://syslinux.zytor.com/faq.php SysLinux] installed on it.
Here is an example on how make a bootable floppy under Linux
# fdformat /dev/fd0 # Low level format
# mformat a: # Build ms-dos filesystem
# syslinux /dev/fd0 # Make floppy bootable using syslinux
# mount -t msdos /dev/fd0 /mnt # Mount the filesystem
# cp bubble.cfg bubble.syslinux/* packages/keybbe.tbz packages/wtools.tbz ... /mnt
# # Copy all files to floppy
# umount /mnt
Or under MS-DOS:
c:> format a:
c:> syslinux a:
c:> copy .... a:
(!) A 1.44MB floppy should be sufficient for the main Bubble packages (ssh is just too big!). Should you run out of space, it is very easy to format a floppy with 21 sectors and 83 tracks, giving a total of 1743KB on a 1.44MB floppy. However your hardware need to be able to boot from such a floppy (It is not a problem at all on my old Pentium, but USB floppy drive will not support this).
<br />On Linux, just use /dev/fd0h1743 instead of /dev/fd0 in the example above. For the DOS/Wintel world, I found a couple of ''sharewares'' to do the job, and also some free utilities
* [http://toastytech.com/files/nformat.html NFormat]
* FDFormat 1.8 from Christoph. H. Hochstätter (No official pages, but widely available on the web)
[[Category:Bubble]]
Category:RC-1000
14
1296
1465
1396
2006-11-23T09:44:31Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
Attempt to run a RC node on a RG-1000 AP...
Installation Panik
0
1308
1466
1394
2006-11-23T09:44:36Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Quand? =
Date prévue: le Samedi 2 Octobre.
RC:IvanMarkoff propose rendez-vous vers 10H30 chez lui:
<br />rue Potagère, 103
<br />pour préparer le câble et vérifier le matos
RC:IvanMarkoff viens de téléphoner à Serge. Il ne pourra pas venir avant 13h.
<br />Mais pas de problèmes, il apportera les clefs de panik la veille vendredi pm.
Donc:
* Quelques jours avant l'install :
** Dresser la liste des points joignables depuis Josaphat.
** Le plus simple serait de sauver la page RC:ExtensionPlanAdressage sur le laptop qui fera partie du matériel d'install (Phil - OK)
** Contacter toutes les personnes pouvant participer aux tests de chez eux
*** Said OK : mettra le noeud tagawa en mode RC:ReseauCitoyen
*** Guy : à faire - message sur répondeur
*** Gilles : à faire
* Vendredi
** vers 13h Serge dépose les clefs de Panik (rue St-Josse) chez ivan
* Samedi
** rendez-vous chez RC:IvanMarkoff vers 10h30
** Vers 11h30, installation panik
** Vers 12h30 on bouffe près de Josaphat et on téléphone à Serge pour lui donner l'adresse du resto où on l'attend
** 13h30 install josaphat
= Pré-Install =
Lister ici ce qu'il faut encore faire, acheter, ... avant le jour de l'install
* ...
= Ne pas oublier =
Pour le jour de l'install
== Matériel a amener ==
'''Panik'''
* Hardware
** PC + bridge ISA/PCMCIA + carte pcmacia cisco aironet ''(Phil - OK)''
** pigtail mmcx to rp tnc femelle ''(Phil - OK)''
** antenne rubber duck rp tnc mâle ''(Phil - OK)''
** bac + rallonge électrique 15m ''(ivan - OK)''
** câble Ethernet long + croiseur + câble court ''(sur place)''
* Outillage
** rien
* Quincaillerie
** rien
'''Josaphat'''
*Hardware
** PC + bridge ISA/PCMCIA + carte pcmacia engenius ''(Phil - OK)''
** pigtail mmcx to N mâle ''(ivan - OK)''
** câble ecoflex15 (20m) + 1 connecteur N femelle + 1 connecteur N mâle ''(ivan - OK)''
** antenne 9dBi tilt 0° (N femelle) + attache et colliers ''(ivan - OK)''
** pied photo pour support antenne pour essai avant install définitive ''(ivan - OK)''
** .... ?
* Outillage
** Foreuse à percussion pneumatique + mèches ''(ivan - OK)''
** visseuse portative bas de gamme, si quelqu'un a mieux, c'est le bienvenu ''(ivan - à préparer)''
** visseuse portative milieu de gamme ''(Phil - OK)''
** niveau d'eau ''(ivan - à préparer)''
** ... ?
* Quincaillerie
** allonge étectrique (5 m) + prise multiple (2 m) pour relier le PC au secteur ''(ivan OK)''
** attaches pour câbles éléctriques 16mm ''(ivan OK)''
** vis + chevilles ''(ivan OK)''
** 2 équerres pour étagère pour PC ''(ivan - OK)''
** 1 planche pour étagère ''(ivan - OK)''
** petites vis pour fixer la planche sur les équerres ''(ivan - OK)''
** bande auto-amalgamante pour connecteur antenne ''(ivan OK)''
** ... ?
'''Matériel concernant les 2 points et divers'''
* Portable et cable réseau croisé pour se connecter aux noeuds si nécessaire: ''(Phil - OK)''
* Frein filet (pour les attaches d'antenne): ''(Phil - OK)''
* Appareil photo ''(Phil - OK)''
* Carte et plan de Bruxelles ''(ivan - OK)''
* Jumelles ''(ivan mais ancienne, pas très bonne - OK)''
* ... ?
== Questions ==
* A-t-on un cable réseau pour aller du RC:CitizenBack Panik au studio?
** Oui.
* Qu'est-ce du frein filet ?
** C'est une produit qui permet de ''freiner le filetage'' des vis, c'est a dire empecher les vis de se faire la malle. C'est essentiellement utilisé en mécanique automobile où les vibrations font que tout se dévisse. Par principe sur tout montage extérieur je m'assure qu'il y aie soit des rondelles ''grauer'' soit du frein filet.
* Qu'est-ce de la bande auto-amalgamante ?
** Est-ce similaire à de la gaine thermo-rétractable? Si oui, il faut prévoir un décapeur thermique....
** Non, pas besoin de chauffer. C'est un ruban élastique qui se soude à lui-même.
* Les noeuds de St-Josse sont-ils tous passés en canal 1?
** En principe oui, depuis ce jeudi soir
* ...
== Matériel divers ==
* De la [http://www.chimay.com/www/chimay/site8/dynamique/fr/preview/fiche_b.cfm?p_b_or_f=B&p_langue=FR&p_id_produit=298 ChimayBleue] (Optionel vu que Eric n'est pas là....)
* ...
= Rapport d'install =
Equipe de choc : sympa, cool, et hyper efficace
Oublis :
* capot du pc
* et plus grave : on a oublié de mettre la bande de protection du connecteur d'antenne
Suite voir page [[Gestion Josaphat]]
[[Category:Opération Panik]]
Noeud Bulles
0
1317
1467
1393
2006-11-23T09:44:38Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= Bienvenue sur le noeud Bulles =
Bienvenue sur le noeud RéseauCitoyen des Bulles!
'''Note''': Bien que ce serveur Web soit aussi visible sur Internet, certains liens de cette page ne sont disponibles que via RéseauCitoyen
{| width="100%" style="border-top:1px solid red; border-right:1px solid red; border-bottom:2px solid red; border-left:1px solid red;"
|-
| Au cours de ces derniers mois j'ai petit à petit perdu ma motivation pour ce projet...
Temps pour revoir ses priorités...
<br />Temps pour passer à d'autre choses...
<br />Le noeud des Bulles reste bien sûr actif, mais je ne prévois plus de maintenance dans un avenir proche
Philippe
<br />Octobre 2005
|}
== Services disponibles sur ce noeud ==
* '''Le wiki des Bulles''': Vous y êtes! C'est ici! <br />C'est un Wiki essentiellment technique supportant des projets RéseauCitoyen. <br />Quelques pointeurs
** [[Bubble]]: Distribution RéseauCitoyen minimaliste (floppy, ...) <br />La distribution est en réécriture pour l'instant!
** [[RC-1000]]: Distribution RéseauCitoyen pour RG-1000
** [[Opération Panik]]: Setup de noeuds en vue de streaming audio
* Un '''serveur de temps''' (NTP) de Stratum 3
* Le '''[http:/cgi-bin/viewcvs.cgi/ReseauCitoyen CVS]''': Code sources de projets RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble Bubble]: Distribution Bubble
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/OpenWRT/ WRT Citoyen]: Distribution OpenWRT avec les packages RéseauCitoyen
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/RC-1000/ RC-1000]: Distribution RG-1000
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/aodv-uu-ipt/ AODV-IPT]: AODV-UU 0.8.1 avec les patches iptables
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/rc-watchdog/ RC-Watchdog]: Script de monitoring de noeud
** [http:/cgi-bin/viewcvs.cgi/ReseauCitoyen/dnsp2p/ DNS Peer to Peer]: implementation en Python réalisée par Gaëtan Kowalkowski
* '''[http:/nagios/ Monitoring du réseau]''': Monitoring réalisé avec Nagios ('''Non disponible pour l'instant''')
* '''[http:/rc1000/ Feed RC-1000]''': Distribution et Package Feed pour la distribution [[RC-1000]]
* '''[http:/openwrt/ Feed OpenWrt]''': Distribution et Package Feed pour la distribution OpenWrt (Voire aussi [[Wrt Citoyen]])
* '''[http:/i386/ Binaires i386]''': Noyeau et binaires AODV pour une install facile sous Linux, paquet Debian pour OLSR, ...
* '''[http:/mtx/ Feed MeshCube]''': Distribution et Package Feed pour la distribution Nylon (Voire aussi [[MeshCube]])
== Services en projet ==
* Pas de projets pour le momment
*''Ajoutez ici vos souhaits!''
* ...
Gestion Divers
0
1315
1468
1392
2006-11-23T09:44:41Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
= A faire =
* Taches a effectuer, ...
* ...
= 17 Novembre 2004 - 8:00 - Intervention sur place - Soekris Ivan (Labo) =
Intervenants : Philippe
'''Incident''': La soekris n'est plus dans le nuage AODV
'''Analyse''': sur la console le message suivant défile sans arrêt:
eth2: information frame lost
La carte (le driver ?) à l'air dans les choux -- le problème est résolu par un `cardctl eject / insert`.
<br />Le message vient de orinoco.c et est spécifique à ce driver
AODV est redémarré et la machine rejoint le nuage immédiatement.
'''Conclusion''': pas d'action immédiate particulière à noter que
# On utilise de toutes façon plus trop les cartes orinoco
# La soekris ne tourne pas la dernière version des drivers, et il y a eu des changement dans le code a cet endroit récemment
# On pourrait utiliser HostAP
A plus long terme, mettre à jour la distribution
= <date> 2004 - <heure> - Intervention [sur place|distante] =
Intervenants : ....
* Détails de l'intervention
* .......
[[Category:Gestion RéseauCitoyen]]
Bubble package
0
1289
1469
1391
2006-11-23T09:44:43Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
{{Outdated}}
= About Packages =
In order to keep the ''core'' as small as possible, and to allow flexibility, most of the Bubble components are stored in packages.
<br />Packages may have different purpose:
* Configuration: a few scripts to configure the node (keyboard, ...)
* Drivers: install the drivers needed to run the node (typically Wireless drivers)
* Software: optional packages for the node (ssh, ...)
* ...
We do not need extended package functionality, since the distribution is ''non-persistent'' -- it is re-build at boot time.
<br />We need the following functionality
* ''Install'' files
* Run ''install'' scripts to configure the package
* Have start/stop scripts to manage the ''service''
= Package Structure =
The package is composed of 2 parts
* A configuration file: an ASCII file that everyone can edit to customize the package for a particular node.<br />The format is the same as the [[Bubble configuration file]], and the contents are actually merged.
* A tarball containing the package itself
== Package Naming ==
Since we want to be able to boot from FAT, the package (file) name is limited to 8 characters!
== Package Configuration ==
The package configuration is part of the [[Bubble configuration file]] as a ''section''
It contains:
* The disk space required to install the package (in KB)
* The number of i-nodes required to install the package
* Any other parameter needed to configure the package<br />These options will be made available to the install script.
Examples (See [[Bubble configuration file]] for the full syntax with hints for the user interface)
...
[packages] # Only the packages in the list will be considered
package.list = long # Long form example
package.list = short # Short form example
...
# Long declaration: all the parameters are used
[long]
size = 10 # RamDisk space required to install this package (in KB)
# Default 0
inode = 10 # RamDisk inodes required to install this package
# Default 0
load = yes # Load this package? (to be installed we need to have the
# package in the above list AND load = yes here)
# Default yes
file = long.tbz # Package file name
# Default <package.tbz>
retry = 0 # If the file is not found, how many retries are we doing?
# (Useful in case of floppies, to be able to switch the media)
# Default is 0: Skips package is file is not there
# This parameter overrides the same at [package] level
install = long # Installation script for the package, in /tmp
# Default <package>
start = yes # Start the service at boot time? (if applicable -- nothing is
# actually done, this parameter is just available for the scripts)
# Default yes
# Any other parameter for the use of this package
[short]
# Actually we do not need anything here! using the defaults: no space will be allocated for the package,
# it will be loaded from the short.tbz file,and the default install script /tmp/short will be run if it exists.
At build time, in addition to the tarball, a template for the [[Bubble configuration file]] is generated and contains the right ''size'' and ''inode'' parameters.
During the boot process, for all the packages, a ''/etc/default/<package>'' is created, and all the parameters are defined there as environment variable.
<br />Example:
[hello]
param = Hello World
generates ''/etc/default/hello'' file:
_PARAM="Hello World"
The parameter is capitalized, and an underscore is prepended to minimize environment variable clashes when the file is sourced.
== Package tarball ==
The configuration file is named
'''<package>.tbz'''
and is a ''bzipped'' tarball.
It contains (all parts are optional):
* All the package files (Path relative to root)
* A configure/install script (in /tmp)
* Start/Stop script for the service (System-V like -- See below): /etc/init.d/<package><...>.sh
The ''stop'' part of the script is not very crucial in the light of a diskless node, but can be interesting for
* Manual intervention (stop firewall, ...)
* Nicely release network resources (DHCP lease, ...)
Note that [[BusyBox]] init does not know anything about runlevels, but for the sake of clarity we will use the System-V / Debian convention, assuming the system is running in level 2:
* /etc/init.d as repository for all startup scripts
* /etc/rcS.d for all the scripts run at startup, just after the ''pivot_root''.<br />These are reserved for system initialization tasks, so no package scripts should come here.<br />Naming convention: Snn<script> symlinked to the real script in /etc/init.d
* /etc/rc2.d for all the packages start scripts.<br />Naming convention: Snn<package><...>.sh symlinked to the real script in /etc/init.d
* /etc/rc0.d for all the packages stop scripts.<br />Naming convention: Knn<package><...>.sh symlinked to the real script in /etc/init.d
In the [[BuildRoot]], if the start/stop script contains (similar to the !RedHat chkconfig):
# bubbleconfig: 2 xx yy
links to the Sxx and Kyy will be build automatically (during the fixup phase of the build -- not at runtime!)
= Driver Packages =
A driver package is a package which is build to support some hardware and consists of one or more modules.
These packages can be build automatically by including the name of the module in the [[Bubble configuration file]]. E.g.:
[image]
# ...
driver.list = ewrk3 # DEC EtherWORKS
driver.list = orinoco # Hermes or Prism 2 chipset
driver.list = rt2400 # Realtek 2400 chipset
# ...
In the above example we will generate 3 packages, each of them will contain the base module plus all its dependencies.
Unless ''start = no'' is specified for a particular driver, all drivers will be loaded at the early stage of the boot process. (current implementation: '''all''' drivers are loaded)
All drivers accept a ''module_params'' run time parameter which will be passed to the module. E.g.
[ewrk3]
size = 56
inode = 10
module_params = io=0x300 irq=5
(current implementation: ignored)
= Existing Packages =
See [[Bubble configuration file]] for the list of existing packages and their respective options.
= Links =
''We can group the links somewhere else...''
* [http://www.linuxrouter.org/ Linux Router Project (LRP)] -- no development anymore
* [http://leaf.sourceforge.net/ Linux Embedded Appliance Firewall (LEAF)]: the re-incarnation of [http://www.linuxrouter.org/ LRP]
* [http://www.routerlinux.com/ RouterLinux]: another uClibc/ [[BusyBox]] based GNU/Linux distribution
* ...
[[Category:Bubble]]
Install guide
0
1285
1470
1390
2006-11-23T09:44:46Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
{{Outdated}}
This page describes the necessary steps needed to get get a bubble node up and running.
= Requirements =
We need basically some hardware for the node, plus an additional system to package the distribution.
* The node itself
** Intel 386 compatible hardware
** 16 MB RAM
** A wireless interface supported by Linux (!)
** A boot device supported by Bubble (floppy, CD-ROM, CF-Card, Network card, ...)
** An optional network card
* A computer to package the distribution. There is no restriction on the Operating System, but it need to be able to create the boot device: format/write MS-DOS FAT filesystem (floppy/CF-Card node), burn ISO CD-ROM for CD-ROM based node, or act as BootP/DHCP/TFTP server for a network based node.
= Installation overview =
There are 3 ways to get the distribution packaged
* Build from source: this is probably the hardest way!<br />You may want to build from source if you want to modify the distribution.<br />Read [[Bubble development]] and if you still want to go on, get a [http://bulles.no-ip.org/cgi-bin/viewcvs.cgi/ReseauCitoyen/Bubble/ tarball] with the source and compile the whole stuff!<br />Browse this wiki for more information.
* Use the RC-Matic: from one extreme to the other, the RC-Matic allows you to describe your configuration on the Web, and download all the parts needed to run your node.<br />At this time, the RC-Matic only generates [[DiskLess]] images! Conversion to Bubble is under way. But the need of an custom image is very limited since Bubble is much more configurable at run-time than [[DiskLess]].
* Use pre-build packages: last but not least, there are already some pre-build packages available, so you just have to download them, put it on your boot device and your node is ready!
This [[Install guide]] describes how to get a node up and running with pre-build packages.
<br />Pre-build packages are available at http://reseaucitoyen.be/diskless/bubble
By using pre-build packages, you can have your bubble node operational in just a few minutes once you now your hardware configuration.
<br />Installation is done in 3 steps:
# Download the components;
# Review and customize your configuration file;
# Copy all the parts on your boot media.
= Download Components =
You will need 3 parts:
* The [[Bubble configuration file]]
* The Core System
* The Packages
== Configuration File ==
Just download the configuration file template as base for your configuration: BubbleImage:bubble.cfg
== Core System ==
The Core System is made of the [[Linux kernel]] and a root file system.
The package you need depends on how you want to boot your Bubble node:
* FAT based (Floppy, CF-Card): review SysLinuxBoot to select the right core package;
* CD-ROM based: download BubbleImage:core-images/cdrom-ide and the review [[IsoLinux boot]] page.
* Network based: review [[Network boot]] to select the right core package.
== Packages and Drivers ==
Bubble is is very flexible in its content. You just have to download the packages you want to install. The only limitation is the disk space if you boot from floppy, and the available memory.
A complete list of the available packages and their parameters are available in [[Bubble configuration file]]. Read more about packages in [[Bubble package]].
You will typically use:
* keybbe: Belgian keyboard mapping
* pcmcia: if you need to support pcmcia devices!
* wtools: wireless tools (not needed if you are using a wireless bridge such as the Linksys Wet-11)
* iptables: for the firewalling
* aodv: for the routing
* tinyhttp: a nice to have -- it includes a useful node status page
* ssh: if spaces allows it!
All the packages are located at BubbleImage:packages.
You will have also to download the drivers to support your hardware (wireless card, network card, ...)
<br />There is already a whole bunch of driver packages available on BubbleImage:packages/drivers. If you are missing something, just tell me and I will include it.
<br />Note that the driver packages always includes the dependencies -- you do not need to download them separately. E.g. if you have an Avaya PCMCIA card, the only driver package you need to download is BubbleImage:packages/drivers/orinoco_cs.tbz.
= Review configuration file =
Review your configuration file to match your hardware.
See [[Bubble configuration file]] for detailed explanation.
<br />The template you have downloaded contains more than you usually need. You should just review and check all entries.
For each package tarball (.tbz file), there is always an associated [[Bubble configuration file]] template with the .cfg extension. This template contains the right values for the ''size'' and ''inode'' package parameters.
= Make your boot device =
You have now all the pieces of the puzzle! The last step is to dump everything on your boot device.
Details of the operation depend on your boot device:
* FAT based (Floppy, CF-Card): see [[SysLinux boot]];
* CD-ROM based: see [[IsoLinux boot]];
* Network based: see [[Network boot]].
Note that all files should be placed in the same directory. The exceptions are:
* The [http://syslinux.zytor.com/pxe.php PXELinux] configuration file in case of a [[Network boot]] via PXE;
* [[Network boot]] again, the [[Bubble configuration file]] can be in a separate directory to allow multiple nodes to share the same code;
= Boot your node =
Just boot your node and you are done!
You may want to change the root password if you have enabled ''telnetd''. Once done, copy the encrypted value from ''/etc/passwd'' to your [[Bubble configuration file]].
<br />You can do the same with your ''ssh'' public and private keys.
Enjoy!
[[Category:Bubble]]
Bering-uClibc on Compact-Flash
0
1326
1471
1389
2006-11-23T09:44:49Z
Phil
1
Reverted edit of Fraseyboy, changed back to last version by Phil
wikitext
text/x-wiki
This article describes how to prepare a Compact-Flash for use with [[Bering-uClibc]]
It does not replace the [http://leaf.sourceforge.net/doc/guide/buc-install.html Bering-uClibc Installation Guide], but rather a complement.
= Partitioning =
The [[Bering-uClibc]] system is relatively small: a couple of megabytes is enough for a [http://www.reseaucitoyen.be RéseauCitoyen] node; the full list of packages being just a bit more than 10 MB.
The idea is then to partition the Compact-Flash in 3 parts, depending on the size of the CF card.
<br />We have here a 128MB card which is way to much!
# An MSDOS partition for the packages. The use of a FAT16 filesystem is dicated by the use of [http://syslinux.zytor.com/faq.php SysLinux] for booting the device. 4 MB is more than enough.
# A Minix partition for the packages (partial) backup. We want to keep the original packages in the first partition and save the configuration files (partial backups) in the second partition. This way, we can easily upgrade a node by just copying the new packages in the dos partition, without overwriting the configuration files. A couple of megabutes should be sufficient here.
# A Minix file system as general purpose filesystem. The rest of the CF can be used to store whatever data we need.
On my huge CF card the partition table looks like:
Disk /dev/hdc: 128 MB, 128188416 bytes
8 heads, 32 sectors/track, 978 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 256 32752 6 FAT16
/dev/hdc2 257 512 32768 83 Linux
/dev/hdc3 513 978 59648 83 Linux
= Boot partition =
== Filesystem & syslinux ==
The first partition will recieve the packages and need to be DOS-formatted for [http://syslinux.zytor.com/faq.php SysLinux]:
mkdosfs -n BERING /dev/hdc1
Then we load [http://syslinux.zytor.com/faq.php SysLinux] on it
syslinux -s /dev/hdc1
And we also need to copy a MBR on it
dd if=mbr.bin of=/dev/hdc bs=512 count=1
Note that the mbr.bin s part of the [http://syslinux.zytor.com/faq.php SysLinux] distribution, but is not in the Debian package... It can be dowloaded from [http://www.kernel.org/pub/linux/utils/boot/syslinux/ kernel.org]
Then you have to put the ''syslinux.cfg'' configuration file and the ''syslinux.dpy''banner files in the filesystem. Templates are available in the ''tools/image'' directory of the [[Buildtool]] (or on the floppy image from the official distribution).
On the soekris, I am using the following ''syslinux.cfg'':
serial 0 19200
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda2:minix
append console=ttyS0,19200 nodma=hda ide=nodma
We will put the leaf configuration file on the second partition. ''syslinux.cfg'' is the only system specific file we will have on the first partition;
If the console is on a serial port, it is better to cleanup ''syslinux.dpy'' to avoid control characters on the connected terminal.
== Linux kernel and packages ==
The rest of the filesystem is for the [[Bering-uClibc]] Linux kernel and packages.
I don't expect space problem on the Compact-Flash card, so we could easily copy all the packages! I am just listing the main ones needed for a node.
=== System files ===
* linux: the Linux kernel, copied from ''build/kernel/bzimage-2.4.31-upx'' (or on the floppy image from the official distribution)
* initrd.lrp: the bootstrap file, copied from initrd_ide.lrp as we boot from Compact-Flash via the IDE adapter
* root.lrp: System files (basic commands)<br />The full root backup will backup '''all'' files not in other packages!
* etc.lrp: /etc config files, system startup, ...<br />If we use the serial console, ''/etc/inittab'' need to be updated, otherwhise there will be no way to access the node! This is only necessary for a fresh install, after that ''inittab'' will be saved in the config files.
* modules.lrp: the drivers needed to run the node<br />The drivers loaded by the PCMCIA cardmanager '''must be''' in the pcmcia subdirectory, so that the modules can be loaded through ''insmod'' as ''modbrobe'' is not available.
* local.lrp: /usr/local files (empty package)
* log.lrp: /var/log files (empty package)
* config.lrp: the ''lrcfg'' configuration tool
=== Network files ===
* dropbear.lrp: ssh server
* iptables.lrp: the iptables suite
* shorewall.lrp: shorewall firewall
* ulogd.lrp: user space log daemon
=== Web Interface ===
* mhttpd.lrp: lightweight HTTP server
* webconf.lrp: Web configuration interface <br />We need to copy the ''<package>.lwp'' configuration plugins <br />'''Note''': the password file is not part of the configuration files, and therefore the password is lost when that package is upgraded!
=== PCMCIA ===
* pcmod.lrp: PCMCIA and Cardbus base modules
* pcmcia.lrp: cardmgr, etc
=== Wireless stuff ===
* wireless.lrp: Jean II wireless tools
* libm.lrp: dependancy
* hostapu.lrp: HostAP Config
* olsrd.lrp: the routing daemon
=== Other packages ===
Packages that could be usefull on a node:
* bridge.lrp: bridge support
* keyboard.lrp: non-qwerty keyboard support
* dhcpcd.lrp: dhcp client
* dnsmasq.lrp: dhcp server & dns cache
= Config partition =
The second partition will receive a Minix filesystem (the [[Bering-uClibc]] kernel only supports msdos and minix filesystems without additional modules).
Initially, this partition will only contains the ''leaf.cfg'' configuration file:
VERBOSE=0
LRP="root config etc local modules log iptables dhcpcd shorwall ulogd dnsmasq dropbear pcmod pcmcia libm wireless hostapu mhttpd webconf lrpstat olsrd"
PKGPATH="/dev/hda2:minix,/dev/hda1:msdos"
syst_size=16M
log_size=10M
The important thing is the ''PKGPATH'' variable: it took me some time to realize that by default the list is processed backwards when installing the package: we will first get the package files from the hda1 partition, then overlay with the configuration files from the hda2 partition.
<br />An easy way to see this is that the files in the first device take precedence over the others!
Once the system is installed and running, we will backup the configuration files (partial backup) on this partition.
= Extra partition =
This partition remains available for whatever we need!
Ideally I would have used a ''jffs2'' filesystem, but this module is not compiled by default. So we will use Minix here as well.
= Post-install =
Once the system is running, the following need to be configured
* System
** LRP Config file (date server, ...)
** Timezone
* Networking
** Node name
** Interface definition
* Dropbear
** Generate ssh keys
* OLSRD
** Interface
* Shorewall
** Relax a bit
** Add zone for [http://www.reseaucitoyen.be RéseauCitoyen]
* Webconf
** Set password
[[Category:Bering-uClibc]]
User talk:Wwwdaiyang
3
1330
1473
2006-12-02T11:07:11Z
Wwwdaiyang
3
easy way to play mmorpg games
wikitext
text/x-wiki
== easy way to play mmorpg games ==
easy way to play mmorpg games
WOW Gold - World of Warcraft Gold is the most valuable form of currency in World of Warcraft. It is used to buy and sell items from vendors or other players.
World of Warcraft Gold - You can now buy wow gold and items at great prices!
WoW Gold - If you are looking for World of Warcraft Gold,please review our website for more information.
World of Warcraft Gold - Our new WoW gold site is up with enhanced design, navigation, and payment options.
WOW Gold - You may now buy World of Warcraft gold using a credit card without having to use Paypal (option is available at checkout).
FFXI Gil- The most valuable form of currency is FINAL FANTASY XI Gil. It is used to buy and sell items from vendors or other players.
FINAL FANTASY XI Gil - Looking to buy FFXI Gil, Items or Accounts? We strives to offer the fastest and most reliable service on the web for all your gaming needs.
[[http://www.gamegoldspace.com/ world of warcraft gold]] - As a massively multiplayer online game, [[http://www.gamegoldspace.com/ wow gold]] enables thousands of players to come together online and battle against the world and each other.
[[http://www.gamegoldspace.com/ wow power leveling]] - If you are looking for [[http://www.gamegoldspace.com/ wow powerleveling]] as well as [[http://www.gamegoldspace.com/ world of warcraft power leveling]] or [[http://www.gamegoldspace.com/ world of warcraft powerleveling]],please review our website for more information.
Gestion Okno
0
1331
1482
2007-01-10T23:38:15Z
Cedricnet
5
wikitext
text/x-wiki
= A faire =
* depuis les essais de stream pour l'anniversaire de l'art, accès ssh impossible (mauvaise redirection port ?)
* ....
= date 2006-01-10 - Configuration actuelle =
soekris 4511 (voyage 0.2-10 - www.voyage.hk)
*ip lan 192.168.5.15
une carte CM9 minipci. 5 ghz, canal 149.
pour le moment client "josaphatmaster"
antenne patch (pacwireless 19 db) (dirigée vers brusilia)
*ip wifi 192.168.38.3
une carte Senao pcmcia. 2.4 ghz, canal 1.
*ip wifi 10.54.142.130
boîte Ivan sur toit plat. petit mat antenne parabolique.
http://reseaucitoyen.be/gallery/molenbeek/okno_01
un câble ethernet (réparé) arrive dans les locaux de l'association
un serveur y a récemment été installé, tests de stream d'Olme
[[Category:Gestion RéseauCitoyen]]
1483
1482
2007-01-10T23:38:53Z
Cedricnet
5
wikitext
text/x-wiki
= A faire =
* depuis les essais de stream pour l'anniversaire de l'art, accès ssh impossible (mauvaise redirection port ?)
* ....
= date 2006-01-10 - Configuration actuelle =
soekris 4511 (voyage 0.2-10 - www.voyage.hk)
*ip lan 192.168.5.15
une carte CM9 minipci. 5 ghz, canal 149.
pour le moment client "josaphatmaster"
antenne patch (pacwireless 19 db) (dirigée vers brusilia)
*ip wifi 192.168.38.3
une carte Senao pcmcia. 2.4 ghz, canal 1.
*ip wifi 10.54.142.130
boîte Ivan sur toit plat. petit mat antenne parabolique.
http://reseaucitoyen.be/gallery/molenbeek/okno_01
un câble ethernet (réparé) arrive dans les locaux de l'association
un serveur y a récemment été installé, tests de stream d'Olme
[[Category:Gestion RéseauCitoyen]]
1484
1483
2007-01-10T23:39:26Z
Cedricnet
5
wikitext
text/x-wiki
= A faire =
* depuis les essais de stream pour l'anniversaire de l'art, accès ssh impossible (mauvaise redirection port ?)
* ....
= date 2006-01-10 - Configuration actuelle =
soekris 4511 (voyage 0.2-10 - www.voyage.hk)
*ip lan 192.168.5.15
une carte CM9 minipci. 5 ghz, canal 149.
pour le moment client "josaphatmaster"
antenne patch (pacwireless 19 db) (dirigée vers brusilia)
*ip wifi 192.168.38.3
une carte Senao pcmcia. 2.4 ghz, canal 1.
*ip wifi 10.54.142.130
boîte Ivan sur toit plat. petit mat antenne parabolique.
http://reseaucitoyen.be/gallery/molenbeek/okno_01
un câble ethernet (réparé) arrive dans les locaux de l'association
un serveur y a récemment été installé, tests de stream d'Olme
[[Category:Gestion RéseauCitoyen]]
1485
1484
2007-01-10T23:40:21Z
Cedricnet
5
wikitext
text/x-wiki
= A faire =
* depuis les essais de stream pour l'anniversaire de l'art, accès ssh impossible (mauvaise redirection port ?)
* ....
= date 2006-01-10 - Configuration actuelle =
soekris 4511 (voyage 0.2-10 - www.voyage.hk)
*ip lan 192.168.5.15
une carte CM9 minipci. 5 ghz, canal 149.
pour le moment client "josaphatmaster"
antenne patch (pacwireless 19 db) (dirigée vers brusilia)
*ip wifi 192.168.38.3
une carte Senao pcmcia. 2.4 ghz, canal 1.
*ip wifi 10.54.142.130
boîte Ivan sur toit plat. petit mat antenne parabolique.
http://reseaucitoyen.be/gallery/molenbeek/okno_01
un câble ethernet (réparé) arrive dans les locaux de l'association
un serveur y a récemment été installé, tests de stream d'Olme (avec Amalia)
[[Category:Gestion RéseauCitoyen]]
1492
1485
2007-01-12T11:38:46Z
Cedricnet
5
/* A faire */
wikitext
text/x-wiki
= A faire =
* depuis les essais de stream pour l'anniversaire de l'art, accès ssh impossible (mauvaise redirection port ?) / ok
* ....
= date 2006-01-10 - Configuration actuelle =
soekris 4511 (voyage 0.2-10 - www.voyage.hk)
*ip lan 192.168.5.15
une carte CM9 minipci. 5 ghz, canal 149.
pour le moment client "josaphatmaster"
antenne patch (pacwireless 19 db) (dirigée vers brusilia)
*ip wifi 192.168.38.3
une carte Senao pcmcia. 2.4 ghz, canal 1.
*ip wifi 10.54.142.130
boîte Ivan sur toit plat. petit mat antenne parabolique.
http://reseaucitoyen.be/gallery/molenbeek/okno_01
un câble ethernet (réparé) arrive dans les locaux de l'association
un serveur y a récemment été installé, tests de stream d'Olme (avec Amalia)
[[Category:Gestion RéseauCitoyen]]
Gestion Panik
0
1314
1486
1440
2007-01-11T12:35:20Z
Dako
4
wikitext
text/x-wiki
= A faire =
* tester un stream entre panik et josaphat
* ...
= 2007-01-10 statut actuel =
*bakbox avec un denian
*mot de passe perdu!!
= date 04 - heure - Intervention sur place / distante =
Intervenants : ....
* Détails de l'intervention
* .......
= 10 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur panik/josaphat/joske
= 10 Janvier 05 - 21h - Intervention distante =
Intervenants : Philippe
* Correction du crontab de ''!CheckAodv'' (voir [[Gestion Josaphat]])
= 29 Décembre 04 - 22h00 - Intervention distante =
Intervenants : Eric G
* Copie de fichier son pour le test du stream ce trouvant dans /root/son
= 5 décembre 04 - 18h - Intervention distante =
Intervenants : Philippe
* Installation du script de monitoring AODV déjà en place sur josaphat
= 2 décembre 04 - 17h - Intervention sur place =
Intervenants : Ivan
* Remise en canal 1 suite à un changement intempestif en canal 6 avec pollution de "bossuet" et" ivan"
= 25 Novembre 04 - 14h - Intervention sur place =
Intervenants : Mathieu, Ivan
* Remplacement de l'antenne omni 9dB par une antenne grid 15 dbB
= 16 Novembre 04 - 19h00 - Intervention sur distante =
Intervenants : Philippe
Monitoring suite à l'interruption de service de lundi 15 au mardi 16 novembre
'''Incident''': Panik passe en rouge dans Nagios le 15 Novembre à 16h28 et réapparait le 16 novembre à 16:08
'''Analyse''': on observe les faits suivants:
* La machine n'a pas été arretée, le processus aodv n'a pas été redémarré -- le problème s'est donc réglé ''de lui-même''
* Durant toute la durée de l'incident, il n'y avait que une et une seule machine dans les tables de routage AODV: Arnaud (chardons)
* Fait intéressant: le noeud chardons était ''rouge'' dans Nagios '''pendant le même laps de temps'''!! Il semble donc que ces 2 machines se sont ''isolées'' du réseau.<br />L'analyse des logs de Josaphat confirme ce point: aucune des 2 machines n'est dans les tables de routage durant l'incident.
'''Conclusion''': On ne peut rien conclure de ces observations, seulement émettre des hypothèses...
<br />Il faudrait collecter plus d'informations sur les noeuds (info wireless, ...)
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface'').
* Mise a jour de ''/etc/hosts''
[[Category:Gestion RéseauCitoyen]]
1487
1486
2007-01-11T12:35:36Z
Dako
4
/* 2007-01-10 statut actuel */
wikitext
text/x-wiki
= A faire =
* tester un stream entre panik et josaphat
* ...
= 2007-01-10 statut actuel =
*bakbox avec un debian
*mot de passe perdu!!
= date 04 - heure - Intervention sur place / distante =
Intervenants : ....
* Détails de l'intervention
* .......
= 10 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur panik/josaphat/joske
= 10 Janvier 05 - 21h - Intervention distante =
Intervenants : Philippe
* Correction du crontab de ''!CheckAodv'' (voir [[Gestion Josaphat]])
= 29 Décembre 04 - 22h00 - Intervention distante =
Intervenants : Eric G
* Copie de fichier son pour le test du stream ce trouvant dans /root/son
= 5 décembre 04 - 18h - Intervention distante =
Intervenants : Philippe
* Installation du script de monitoring AODV déjà en place sur josaphat
= 2 décembre 04 - 17h - Intervention sur place =
Intervenants : Ivan
* Remise en canal 1 suite à un changement intempestif en canal 6 avec pollution de "bossuet" et" ivan"
= 25 Novembre 04 - 14h - Intervention sur place =
Intervenants : Mathieu, Ivan
* Remplacement de l'antenne omni 9dB par une antenne grid 15 dbB
= 16 Novembre 04 - 19h00 - Intervention sur distante =
Intervenants : Philippe
Monitoring suite à l'interruption de service de lundi 15 au mardi 16 novembre
'''Incident''': Panik passe en rouge dans Nagios le 15 Novembre à 16h28 et réapparait le 16 novembre à 16:08
'''Analyse''': on observe les faits suivants:
* La machine n'a pas été arretée, le processus aodv n'a pas été redémarré -- le problème s'est donc réglé ''de lui-même''
* Durant toute la durée de l'incident, il n'y avait que une et une seule machine dans les tables de routage AODV: Arnaud (chardons)
* Fait intéressant: le noeud chardons était ''rouge'' dans Nagios '''pendant le même laps de temps'''!! Il semble donc que ces 2 machines se sont ''isolées'' du réseau.<br />L'analyse des logs de Josaphat confirme ce point: aucune des 2 machines n'est dans les tables de routage durant l'incident.
'''Conclusion''': On ne peut rien conclure de ces observations, seulement émettre des hypothèses...
<br />Il faudrait collecter plus d'informations sur les noeuds (info wireless, ...)
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface'').
* Mise a jour de ''/etc/hosts''
[[Category:Gestion RéseauCitoyen]]
Gestion RéseauCitoyen
0
1311
1490
1434
2007-01-11T13:32:03Z
Dako
4
/* Journaux d'intervention en Ligne */
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
* [[Gestion Okno]]
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
1493
1490
2007-01-12T17:15:19Z
Dako
4
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
* [[Gestion Okno]]
* [[Gestion P&V]]
* [[Gestion PointDom]
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
1500
1493
2007-01-13T17:02:41Z
Dako
4
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
* [[Gestion Okno]]
* [[Gestion P&V]]
* [[Gestion PointDom]]
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
Gestion P&V
0
1332
1494
2007-01-12T17:27:53Z
Dako
4
wikitext
text/x-wiki
=p&v=
*hardware:
<nowiki>petv:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 0
cpu MHz : 300.687
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 599.65
petv:~# free
total used free shared buffers cached
Mem: 127304 120952 6352 0 29620 34236
-/+ buffers/cache: 57096 70208
Swap: 120448 4496 115952
petv:~# cardctl ident
Socket 0:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Socket 1:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
</nowiki>
1495
1494
2007-01-12T17:28:27Z
Dako
4
wikitext
text/x-wiki
=p&v=
*hardware:
petv:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 0
cpu MHz : 300.687
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 599.65
petv:~# free
total used free shared buffers cached
Mem: 127304 120952 6352 0 29620 34236
-/+ buffers/cache: 57096 70208
Swap: 120448 4496 115952
petv:~# cardctl ident
Socket 0:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Socket 1:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
1496
1495
2007-01-12T17:29:47Z
Dako
4
wikitext
text/x-wiki
=p&v=
*hardware:
petv:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 0
cpu MHz : 300.687
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 599.65
petv:~# free
total used free shared buffers cached
Mem: 127304 120952 6352 0 29620 34236
-/+ buffers/cache: 57096 70208
Swap: 120448 4496 115952
petv:~# cardctl ident
Socket 0:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Socket 1:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
1497
1496
2007-01-12T17:30:11Z
Dako
4
wikitext
text/x-wiki
== p&v ==
*hardware:
petv:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 0
cpu MHz : 300.687
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 599.65
petv:~# free
total used free shared buffers cached
Mem: 127304 120952 6352 0 29620 34236
-/+ buffers/cache: 57096 70208
Swap: 120448 4496 115952
petv:~# cardctl ident
Socket 0:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Socket 1:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
1498
1497
2007-01-12T17:42:04Z
Dako
4
wikitext
text/x-wiki
== p&v ==
*ip wlan0: 10.34.43.155
*ip wlan1: 192.168.n.n
*version olsr:
*** olsr.org - 0.4.9 ***
Build date: Apr 4 2005
http://www.olsr.org
*hardware:
petv:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 0
cpu MHz : 300.687
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 599.65
petv:~# free
total used free shared buffers cached
Mem: 127304 120952 6352 0 29620 34236
-/+ buffers/cache: 57096 70208
Swap: 120448 4496 115952
petv:~# cardctl ident
Socket 0:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Socket 1:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
1499
1498
2007-01-12T17:51:23Z
Dako
4
wikitext
text/x-wiki
== p&v ==
*distribution
Debian GNU/Linux Sarge
*ip wlan0: 10.34.43.155
*ip wlan1: 192.168.n.n
*version olsr:
*** olsr.org - 0.4.9 ***
Build date: Apr 4 2005
http://www.olsr.org
*hardware:
vieux p2 dans une boite en plastique
petv:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 0
cpu MHz : 300.687
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 599.65
petv:~# free
total used free shared buffers cached
Mem: 127304 120952 6352 0 29620 34236
-/+ buffers/cache: 57096 70208
Swap: 120448 4496 115952
petv:~# cardctl ident
Socket 0:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Socket 1:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Gestion PointDom
0
1333
1501
2007-01-13T17:07:20Z
Dako
4
wikitext
text/x-wiki
=pointdom-wrt-1=
*lan ip: 192.168.1.70
=pointdom-wrt-5=
lan ip: 192.168.1.80
1502
1501
2007-01-13T17:11:02Z
Dako
4
wikitext
text/x-wiki
=pointdom-wrt-1=
*lan ip0: 192.168.1.80
*lan ip1: 10.59.246.191
*wan ip: none
*wifi ip: 10.59.246.193
=pointdom-wrt-5=
*lan ip1: 192.168.1.80
*
1503
1502
2007-01-13T17:24:25Z
Dako
4
wikitext
text/x-wiki
=pointdom-wrt-1=
*lan ip0: 192.168.1.80
*lan ip1: 10.59.246.191
*wan ip: none
*wifi ip: 10.59.246.193
=pointdom-wrt-5=
*lan ip1: 192.168.1.80
*wifi ip: 10.200.172.194
Main Page
0
1
1504
1439
2007-02-07T19:43:14Z
Dako
4
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[TestDivers]]: some test and their results
1505
1504
2007-02-07T19:43:34Z
Dako
4
/* Contents */
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[Test Divers]]: some test and their results
1535
1505
2007-03-28T17:22:50Z
Dako
4
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[Test Divers]]: some test and their results
* [[RcTools]]
Test Divers
0
1334
1506
2007-02-07T19:44:11Z
Dako
4
wikitext
text/x-wiki
[[Test 5Ghz]]
1524
1506
2007-03-12T20:50:49Z
Dako
4
wikitext
text/x-wiki
[[Test 5Ghz]]
[[Test asterisk]]
1525
1524
2007-03-12T20:50:58Z
Dako
4
wikitext
text/x-wiki
[[Test 5Ghz]]
[[Test asterisk]]
Test 5Ghz
0
1335
1507
2007-02-07T19:46:32Z
Dako
4
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== hardware list ==
1508
1507
2007-02-07T19:57:30Z
Dako
4
/* hardware list */
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
*
== iée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
1509
1508
2007-02-07T20:00:34Z
Dako
4
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
*
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
1510
1509
2007-02-07T22:23:45Z
On4sh
6
/* personnes qui auraient du 5Ghz */
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
*
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's.
1511
1510
2007-02-07T22:24:52Z
On4sh
6
/* personnes qui auraient du 5Ghz */
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
*
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes&node=45
1512
1511
2007-02-08T14:03:16Z
Cedricnet
5
/* personnes qui auraient du 5Ghz */
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
*
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes&node=45
*cédric: patch 5 ghz à moins d'un km.
1513
1512
2007-02-08T14:06:30Z
Cedricnet
5
/* personnes qui auraient du 5Ghz */
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
*
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes&node=45
*cédric: patch 5 ghz à moins d'un km. (essai de voyage 0.3pre3)
* + il y a du 5ghz à Okno et Amalia avec des patchs 19 db vers le brusilia mais il semblerait que les drivers madwifi inclus dans voyage 0.2 soient obsolètes et disfonctionnels
1514
1513
2007-02-08T14:14:08Z
Cedricnet
5
/* hardware list */
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes&node=45
*cédric: patch 5 ghz à moins d'un km. (essai de voyage 0.3pre3)
* + il y a du 5ghz à Okno et Amalia avec des patchs 19 db vers le brusilia mais il semblerait que les drivers madwifi inclus dans voyage 0.2 soient obsolètes et disfonctionnels
1515
1514
2007-02-08T15:29:07Z
Zoobab
7
/* personnes qui auraient du 5Ghz */
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes&node=45
*cédric: patch 5 ghz à moins d'un km. (essai de voyage 0.3pre3)
* + il y a du 5ghz à Okno et Amalia avec des patchs 19 db vers le brusilia mais il semblerait que les drivers madwifi inclus dans voyage 0.2 soient obsolètes et disfonctionnels
*benjamin: laptop avec une carte atheros, pas d'antenne et de pigtail, vois Cheypas Okno et pe Amalia et Atomium.
1516
1515
2007-02-08T17:29:28Z
Dako
4
/* test du vendredi 2007-02-09 */
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
== '''la marche a suivre est un peu chamboulée: nous n' avons pas pu obtenir les clefs du brusilia ce jeudi.on essayera donc de tout faire demain (foireux a l' avance . mais qui sait).''' ==
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes&node=45
*cédric: patch 5 ghz à moins d'un km. (essai de voyage 0.3pre3)
* + il y a du 5ghz à Okno et Amalia avec des patchs 19 db vers le brusilia mais il semblerait que les drivers madwifi inclus dans voyage 0.2 soient obsolètes et disfonctionnels
*benjamin: laptop avec une carte atheros, pas d'antenne et de pigtail, vois Cheypas Okno et pe Amalia et Atomium.
1522
1516
2007-03-12T20:48:25Z
Dako
4
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
==CONlusions du test==
-le problème était logiciel.
-trois noeuds ont pus associer avec le wrapmikrotik un fois mise a la place de la soekris.
-stephan rapporte que la perte dans le cable entre l antenne et l emetteur est de 4db.
-...
-suite a des tests voip ou le son saccadait cedric a règlé le meme valeur de hacktiming (athctrl -d n ).
-statut: ca marche :)
== '''la marche a suivre est un peu chamboulée: nous n' avons pas pu obtenir les clefs du brusilia ce jeudi.on essayera donc de tout faire demain (foireux a l' avance . mais qui sait).''' ==
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes&node=45
*cédric: patch 5 ghz à moins d'un km. (essai de voyage 0.3pre3)
* + il y a du 5ghz à Okno et Amalia avec des patchs 19 db vers le brusilia mais il semblerait que les drivers madwifi inclus dans voyage 0.2 soient obsolètes et disfonctionnels
*benjamin: laptop avec une carte atheros, pas d'antenne et de pigtail, vois Cheypas Okno et pe Amalia et Atomium.
1523
1522
2007-03-12T20:48:45Z
Dako
4
/* CONlusions du test */
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
==Conclusions du test==
-le problème était logiciel.
-trois noeuds ont pus associer avec le wrapmikrotik un fois mise a la place de la soekris.
-stephan rapporte que la perte dans le cable entre l antenne et l emetteur est de 4db.
-...
-suite a des tests voip ou le son saccadait cedric a règlé le meme valeur de hacktiming (athctrl -d n ).
-statut: ca marche :)
== '''la marche a suivre est un peu chamboulée: nous n' avons pas pu obtenir les clefs du brusilia ce jeudi.on essayera donc de tout faire demain (foireux a l' avance . mais qui sait).''' ==
== hardware list ==
*wrap+mikrotk+sr9+pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes&node=45
*cédric: patch 5 ghz à moins d'un km. (essai de voyage 0.3pre3)
* + il y a du 5ghz à Okno et Amalia avec des patchs 19 db vers le brusilia mais il semblerait que les drivers madwifi inclus dans voyage 0.2 soient obsolètes et disfonctionnels
*benjamin: laptop avec une carte atheros, pas d'antenne et de pigtail, vois Cheypas Okno et pe Amalia et Atomium.
1546
1523
2007-04-11T02:15:43Z
EkiWip
23
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
==Conclusions du test==
-le problème était logiciel.
-trois noeuds ont pus associer avec le wrapmikrotik un fois mise a la place de la soekris.
-stephan rapporte que la perte dans le cable entre l antenne et l emetteur est de 4db.
-...
-suite a des tests voip ou le son saccadait cedric a règlé le meme valeur de hacktiming (athctrl -d n ).
-statut: ca marche :)
== '''la marche a suivre est un peu chamboulée: nous n' avons pas pu obtenir les clefs du brusilia ce jeudi.on essayera donc de tout faire demain (foireux a l' avance . mais qui sait).''' ==
== hardware list ==
*wrap mikrotk sr9 pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes
Gestion RéseauCitoyen
0
1311
1517
1500
2007-02-09T10:24:15Z
Dako
4
/* Journaux d'intervention en Ligne */
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
* [[Gestion Okno]]
* [[Gestion P&V]]
* [[Gestion PointDom]]
* [[Gestion Amalia]]
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
1527
1517
2007-03-12T20:58:59Z
Dako
4
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
* [[Gestion Okno]]
* [[Gestion P&V]]
* [[Gestion PointDom]]
* [[Gestion Amalia]]
* [[Gestion Matinal]]
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
Gestion Amalia
0
1336
1518
2007-02-09T10:30:47Z
Dako
4
wikitext
text/x-wiki
= date 2006-02-09 - Configuration actuelle =
1519
1518
2007-02-09T10:41:36Z
Dako
4
wikitext
text/x-wiki
= date 2006-02-09 - Configuration actuelle =
*wrt+omni2.4ghz
*soekris+patch5ghz
amalia5g:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:D5:80:00:49
inet addr:192.168.123.89 Bcast:192.168.123.255 Mask:255.255.255.0
1520
1519
2007-02-09T10:41:52Z
Dako
4
wikitext
text/x-wiki
= date 2006-02-09 - Configuration actuelle =
*wrt+omni2.4ghz
*soekris+patch5ghz
amalia5g:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:D5:80:00:49
inet addr:192.168.123.89 Bcast:192.168.123.255 Mask:255.255.255.0
1521
1520
2007-02-09T10:50:07Z
Dako
4
wikitext
text/x-wiki
= date 2006-02-09 - Configuration actuelle =
===wrt+omni2.4ghz===
* distribution
Linux Amalia 2.4.30 #1 So M� 5 15:51:52 CET 2006 mips unknown
* ip
eth1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:12
inet addr:10.196.239.18 Bcast:10.255.255.255 Mask:255.0.0.0
vlan0 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
inet addr:192.168.123.88 Bcast:192.168.123.255 Mask:255.255.255.0
vlan1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
===soekris+patch5ghz===
* distribution
Linux amalia5g 2.6.17-486-voyage #1 PREEMPT Fri Jan 26 10:52:48 GMT 2007 i486 GNU/Linux
* ip
amalia5g:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:D5:80:00:49
inet addr:192.168.123.89 Bcast:192.168.123.255 Mask:255.255.255.0
1542
1521
2007-03-29T15:38:26Z
Dako
4
wikitext
text/x-wiki
= date 2006-02-09 - Configuration actuelle =
===wrt+omni2.4ghz===
* distribution
Linux Amalia 2.4.30 #1 So M� 5 15:51:52 CET 2006 mips unknown
* ip
eth1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:12
inet addr:10.196.239.18 Bcast:10.255.255.255 Mask:255.0.0.0
vlan0 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
inet addr:192.168.123.88 Bcast:192.168.123.255 Mask:255.255.255.0
vlan1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
===soekris+patch5ghz===
* distribution
update: mnt c est une openwrt kamikaze :) et ca marche par contre il semblerait qu il y ai un faut contact ou que l ufl est mal connecté a tester.
old: Linux amalia5g 2.6.17-486-voyage #1 PREEMPT Fri Jan 26 10:52:48 GMT 2007 i486 GNU/Linux
* ip
amalia5g:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:D5:80:00:49
inet addr:192.168.123.89 Bcast:192.168.123.255 Mask:255.255.255.0
ath0 et pour l instant 5.5.5.3 en attendant une attribution des ranges plus structurée.
1545
1542
2007-04-10T14:57:42Z
YvlRne
12
wikitext
text/x-wiki
= date 2006-02-09 - Configuration actuelle =
===wrt omni2.4ghz===
* distribution
Linux Amalia 2.4.30 #1 So M� 5 15:51:52 CET 2006 mips unknown
* ip
eth1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:12
inet addr:10.196.239.18 Bcast:10.255.255.255 Mask:255.0.0.0
vlan0 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
inet addr:192.168.123.88 Bcast:192.168.123.255 Mask:255.255.255.0
vlan1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
===soekris patch5ghz===
* distribution
update: mnt c est une openwrt kamikaze :) et ca marche par contre il semblerait qu il y ai un faut contact ou que l ufl est mal connecté a tester.
old: Linux amalia5g 2.6.17-486-voyage #1 PREEMPT Fri Jan 26 10:52:48 GMT 2007 i486 GNU/Linux
* ip
amalia5g:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:D5:80:00:49
inet addr:192.168.123.89 Bcast:192.168.123.255 Mask:255.255.255.0
ath0 et pour l instant 5.5.5.3 en attendant une attribution des ranges plus structurée.
1547
1545
2007-06-10T17:46:05Z
On0Xgf
37
wikitext
text/x-wiki
[http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=18 cheap diazepam] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=312 cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=45 nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=285 qwest ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=79 zanaflex online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=247 diazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=305 verizon ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226682379944.html free motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/318.html order lortab] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=62 prozac online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=21 ericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/330.html but ortho] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,19 cheap cyclobenzaprine] [http://climate.msrc.sunysb.edu/1984/messages/295.html cheap celexa] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=253 free ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=49 phentermine] [http://climate.msrc.sunysb.edu/1984/messages/300.html free cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=52 cheap prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,44 free qwest ringtones] [http://climate.msrc.sunysb.edu/1984/messages/296.html cialis online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=297 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=60 nexium online] [http://climate.msrc.sunysb.edu/1984/messages/339.html real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/341.html sagem ringtones] [http://climate.msrc.sunysb.edu/1984/messages/351.html tracfone ringtones] [http://climate.msrc.sunysb.edu/1984/messages/328.html free nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=284 free punk ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226172687200.html mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=295 sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,12 ativan online] [http://climate.msrc.sunysb.edu/1984/messages/309.html but hgh] [http://climate.msrc.sunysb.edu/1984/messages/320.html free midi ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=7 alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=23 cheap flexeril] [http://climate.msrc.sunysb.edu/1984/messages/346.html sony ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=39 motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/359.html vicodin online] [http://www.bc.edu/apps/bookstore/cards/jun7-226062830562.html free tracfone ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=42 buy soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=260 levitra online] [http://climate.msrc.sunysb.edu/1984/messages/322.html free motorola ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=19 cheap didrex] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=84 cheap sildenafil] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=48 pharmacy online online] [http://climate.msrc.sunysb.edu/1984/messages/366.html zoloft online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=257 hydrocodone online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=63 free sony ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=82 cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=306 viagra] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=47 buy paxil] [http://climate.msrc.sunysb.edu/1984/messages/292.html ambien online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=264 buy lortab] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=28 order hydrocodone] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=85 vigrx online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=10 cheap ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=26 hgh online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=63 sildenafil online] [http://climate.msrc.sunysb.edu/1984/messages/358.html buy viagra] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=71 ortho online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=44 nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/316.html lisinopril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,24 free funny ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,46 free sony ericsson ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=307 buy vicodin] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,25 hydrocodone] [http://climate.msrc.sunysb.edu/1984/messages/293.html order ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=38 mono ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,18 clonazepam] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=31 levitra] [http://climate.msrc.sunysb.edu/1984/messages/349.html free sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=49 cialis online] [http://climate.msrc.sunysb.edu/1984/messages/347.html sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,26 cheap levitra] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=313 zanaflex online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=44 phentermine] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=12 celexa online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=69 ultracet online] [http://climate.msrc.sunysb.edu/1984/messages/362.html wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/343.html free sharp ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,36 buy norco] [http://climate.msrc.sunysb.edu/1984/messages/345.html soma online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=61 cheap ultracet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=242 free cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=232 cheap adipex] [http://climate.msrc.sunysb.edu/1984/messages/364.html cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=6 cheap albuterol] [http://climate.msrc.sunysb.edu/1984/messages/350.html cheap tenuate] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=83 cheap ortho] [http://climate.msrc.sunysb.edu/1984/messages/325.html free music ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=288 sagem ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=262 cheap lisinopril] [http://climate.msrc.sunysb.edu/1984/messages/319.html meridia online] [http://climate.msrc.sunysb.edu/1984/messages/335.html cheap propecia] [http://climate.msrc.sunysb.edu/1984/messages/360.html cheap vigrx] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=20 cheap diethylpropion] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=233 cheap albuterol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=40 mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=265 meridia online] [http://climate.msrc.sunysb.edu/1984/messages/307.html free ringtones] [http://climate.msrc.sunysb.edu/1984/messages/354.html cheap ultram] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=61 soma online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=35 cheap lortab] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=292 cheap sildenafil] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,34 free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/317.html cheap lorazepam] [http://climate.msrc.sunysb.edu/1984/messages/308.html free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/368.html diethylpropion online] [http://www.bc.edu/apps/bookstore/cards/jun7-226002359520.html free ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=76 funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/297.html cingular ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-224302380012.html cheap soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=274 nokia ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=55 clonazepam online] [http://climate.msrc.sunysb.edu/1984/messages/367.html zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=64 clomid online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=283 buy prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,53 online valium] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=33 order lisinopril] [http://www.bc.edu/apps/bookstore/cards/jun7-225692379850.html meridia online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=41 buy tramadol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=60 sharp ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=266 free midi ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=252 flexeril online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=55 real ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=240 celexa online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=314 zoloft online] [http://climate.msrc.sunysb.edu/1984/messages/327.html free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/304.html ericsson ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,32 free music ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=41 mtv ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,52 order ultram] [http://climate.msrc.sunysb.edu/1984/messages/356.html buy valium] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,55 viagra online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=58 lorazepam online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=13 cheap cialis] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,38 cheap phentermine] [http://climate.msrc.sunysb.edu/1984/messages/326.html buy nexium] [http://www.bc.edu/apps/bookstore/cards/jun7-226732674842.html samsung ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225822801712.html cheap norco] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=52 meridia online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,48 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=74 buy rivotril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,15 order carisoprodol] [http://climate.msrc.sunysb.edu/1984/messages/294.html carisoprodol online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=246 cyclobenzaprine online] [http://climate.msrc.sunysb.edu/1984/messages/369.html free qwest ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226472592872.html free qwest ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=47 cheap fioricet] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=72 verizon ringtones] [http://climate.msrc.sunysb.edu/1984/messages/337.html punk ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=256 cheap hoodia] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=279 pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=300 tracfone ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=301 tramadol] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=287 cheap rivotril] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=68 tramadol online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,21 didrex online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,22 cheap fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=271 music ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=65 cheap albuterol] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,35 free nokia ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225582064618.html buy viagra] [http://climate.msrc.sunysb.edu/1984/messages/291.html buy alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,59 buy xenical] [http://climate.msrc.sunysb.edu/1984/messages/332.html pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=254 free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/365.html order zanaflex] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=250 free ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=17 cyclobenzaprine online] [http://www.bc.edu/apps/bookstore/cards/jun7-225772801698.html adipex online] [http://www.bc.edu/apps/bookstore/cards/jun7-224662404428.html cheap xanax] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,9 free alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=54 free qwest ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=303 ultram online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=296 sonyericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/342.html free samsung ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=73 cheap lortab] [http://climate.msrc.sunysb.edu/1984/messages/321.html free mono ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=59 free samsung ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=315 zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=69 cheap celexa] [http://www.bc.edu/apps/bookstore/cards/jun7-226122830578.html free funny ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=310 wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/340.html cheap rivotril] [http://climate.msrc.sunysb.edu/1984/messages/298.html but clomid] [http://climate.msrc.sunysb.edu/1984/messages/305.html buy fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=255 buy hgh] [http://climate.msrc.sunysb.edu/1984/messages/315.html cheap lipitor] [http://climate.msrc.sunysb.edu/1984/messages/310.html cheap hoodia] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=15 clonazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=245 cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=66 tenuate online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=53 cheap vicodin] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=77 real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/348.html free sonyericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=27 buy hoodia] [http://climate.msrc.sunysb.edu/1984/messages/352.html buy tramadol] [http://www.bc.edu/apps/bookstore/cards/jun7-226422592864.html nextel ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=54 cheap alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,11 ambien online] = date 2006-02-09 - Configuration actuelle =
===wrt omni2.4ghz===
* distribution
Linux Amalia 2.4.30 #1 So M� 5 15:51:52 CET 2006 mips unknown
* ip
eth1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:12
inet addr:10.196.239.18 Bcast:10.255.255.255 Mask:255.0.0.0
vlan0 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
inet addr:192.168.123.88 Bcast:192.168.123.255 Mask:255.255.255.0
vlan1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
===soekris patch5ghz===
* distribution
update: mnt c est une openwrt kamikaze :) et ca marche par contre il semblerait qu il y ai un faut contact ou que l ufl est mal connecté a tester.
old: Linux amalia5g 2.6.17-486-voyage #1 PREEMPT Fri Jan 26 10:52:48 GMT 2007 i486 GNU/Linux
* ip
amalia5g:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:D5:80:00:49
inet addr:192.168.123.89 Bcast:192.168.123.255 Mask:255.255.255.0
ath0 et pour l instant 5.5.5.3 en attendant une attribution des ranges plus structurée.
Test asterisk
0
1337
1526
2007-03-12T20:56:01Z
Dako
4
wikitext
text/x-wiki
ce w-e des tests on été réalisé au finish.
et c est assez comfortable ( comme par cable )
le test s est effectué avec:
-nodeA:
* boitier sip
* telephone normal
* wrap+ 5Ghz
-nodeB:
* boitier sip
* telephone normal
* soekris1+ 5Ghz
* soekris2+ asterisq
plus details sur la config serveur plus tard j' etais au nodeA :)
1529
1526
2007-03-12T21:09:41Z
Dako
4
wikitext
text/x-wiki
ce w-e des tests on été réalisé au finish.
et c est assez comfortable ( comme par cable )
le test s est effectué avec:
-nodeA:
* boitier sip
* telephone normal
* wrap+ 5Ghz
-nodeB:
* boitier sip
* telephone normal
* soekris1+ 5Ghz
* soekris2+ asterisq
plus details sur la config serveur plus tard j' etais au nodeA :)
http://petv.homelinux.org/rc/img/bureaautestSIP.jpg
1530
1529
2007-03-14T15:41:15Z
Dako
4
wikitext
text/x-wiki
ce w-e des tests on été réalisé au finish.
et c est assez comfortable ( comme par cable )
le test s est effectué avec:
-nodeA:
* boitier sip
* telephone normal
* wrap+ 5Ghz
-nodeB:
* boitier sip
* telephone normal
* soekris1+ 5Ghz
* soekris2+ asterisq
plus details sur la config serveur plus tard j' etais au nodeA :)
[[http://petv.homelinux.org/rc/img/bureaautestSIP.jpg|300px|le nodeB]]
1531
1530
2007-03-14T15:46:52Z
Dako
4
wikitext
text/x-wiki
ce w-e des tests on été réalisé au finish.
et c est assez comfortable ( comme par cable )
le test s est effectué avec:
-nodeA:
* boitier sip
* telephone normal
* wrap+ 5Ghz
-nodeB:
* boitier sip
* telephone normal
* soekris1+ 5Ghz
* soekris2+ asterisq
plus details sur la config serveur plus tard j' etais au nodeA :)
[[http://petv.homelinux.org/rc/img/bureaautestSIP.jpg|300px|le nodeB]]
[[Image:bureaautestSIP.jpg|300px|le nodeB]]
1532
1531
2007-03-14T15:47:31Z
Dako
4
wikitext
text/x-wiki
ce w-e des tests on été réalisé au finish.
et c est assez comfortable ( comme par cable )
le test s est effectué avec:
-nodeA:
* boitier sip
* telephone normal
* wrap+ 5Ghz
-nodeB:
* boitier sip
* telephone normal
* soekris1+ 5Ghz
* soekris2+ asterisq
plus details sur la config serveur plus tard j' etais au nodeA :)
http://petv.homelinux.org/rc/img/bureaautestSIP.jpg|300px|le nodeB
[[Image:bureaautestSIP.jpg|300px|le nodeB]]
1534
1532
2007-03-14T16:06:15Z
Dako
4
wikitext
text/x-wiki
ce w-e des tests on été réalisé au finish.
et c est assez comfortable ( comme par cable )
le test s est effectué avec:
-nodeA:
* boitier sip
* telephone normal
* wrap+ 5Ghz
-nodeB:
* boitier sip
* telephone normal
* soekris1+ 5Ghz
* soekris2+ asterisq
plus details sur la config serveur plus tard j' etais au nodeA :)
une petite image du nodeB
[[Image:bureaautestSIP.jpg|300px|le nodeB]]
Gestion Matinal
0
1338
1528
2007-03-12T21:02:09Z
Dako
4
wikitext
text/x-wiki
-dako pense au pauvre noeud matinal en ce début d année 2007....
-la machine est aujourd hui entre mes main.
==projet==
installer kamikaze
:)
File:BureaautestSIP.jpg
6
1339
1533
2007-03-14T16:04:41Z
Dako
4
wikitext
text/x-wiki
RcTools
0
1340
1536
2007-03-28T17:28:49Z
Dako
4
wikitext
text/x-wiki
==mac2ip==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.mac.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $MAC | /usr/bin/cut -f4 -d ':'`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
==mac2ip-ng==
il faut maintenant rajouter des option en fonctiond range sachant que le deux premier nombre de l ip final sont statiques les règles sont.
Name, Network block, Sub-network size, Use.
ReseauCitoyen 10.91.0.0/16 /27 Peerings (Routing)
ReseauCitoyen 10.93.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.94.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.95.0.0/16 /27 Omnis (Usage)
Detached 10.97.0.0/16 /? http://www.detached.be joris@linux.be
WirelessAntwerpen 10.98.0.0/16 /24 http://www.wirelessantwerpen.be info@wirelessantwerpen.be
WirelessCity 10.99.0.0/16 /? http://www.wireless-city.be info@wireless-city.be
- l aspect final devrait donner mac2ip -i interface -t type (type= rcomnié' wa rc5g rclan detached freifunk....)
1537
1536
2007-03-28T17:38:33Z
Dako
4
wikitext
text/x-wiki
==mac2ip==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.mac.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $MAC | /usr/bin/cut -f4 -d ':'`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
==mac2ip-ng==
il faut maintenant rajouter des option en fonctiond range sachant que le deux premier nombre de l ip final sont statiques les règles sont.
Name, Network block, Sub-network size, Use.
ReseauCitoyen 10.91.0.0/16 /27 Peerings (Routing)
ReseauCitoyen 10.93.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.94.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.95.0.0/16 /27 Omnis (Usage)
Detached 10.97.0.0/16 /? http://www.detached.be joris@linux.be
WirelessAntwerpen 10.98.0.0/16 /24 http://www.wirelessantwerpen.be info@wirelessantwerpen.be
WirelessCity 10.99.0.0/16 /? http://www.wireless-city.be info@wireless-city.be
- l aspect final devrait donner mac2ip -i interface -t type (type= rcomnié' wa rc5g rclan detached freifunk....)
#! /bin/sh
#
# $Id: mac2iprc-ng,v 0.1 2007/03/28 21:49:39 dako Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#n=type of range determined by type of interfaces
INTERFACE=${1:-"eth0"}
TYPE=${1:-"rcomni"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $type`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
1538
1537
2007-03-28T18:00:32Z
Dako
4
wikitext
text/x-wiki
==mac2ip==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.mac.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $MAC | /usr/bin/cut -f4 -d ':'`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
==mac2ip-ng==
il faut maintenant rajouter des option en fonctiond range sachant que le deux premier nombre de l ip final sont statiques les règles sont.
Name, Network block, Sub-network size, Use.
ReseauCitoyen 10.91.0.0/16 /27 Peerings (Routing)
ReseauCitoyen 10.93.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.94.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.95.0.0/16 /27 Omnis (Usage)
Detached 10.97.0.0/16 /? http://www.detached.be joris@linux.be
WirelessAntwerpen 10.98.0.0/16 /24 http://www.wirelessantwerpen.be info@wirelessantwerpen.be
WirelessCity 10.99.0.0/16 /? http://www.wireless-city.be info@wireless-city.be
- l aspect final devrait donner mac2ip -i interface -t type (type= rcomnié' wa rc5g rclan detached freifunk....)
#! /bin/sh
#
# $Id: mac2iprc-ng,v 0.1 2007/03/28 21:49:39 dako Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#n=type of range determined by type of interfaces
usage() {
cat <<-EOF
Usage: $0 [options]
Options:
-t|--typeofinfra <typeofinfra> set good range
EOF
}
INTERFACE=${1:-"eth0"}
TYPE=${1:-"rcomni"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $type`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
1539
1538
2007-03-28T18:04:22Z
Dako
4
wikitext
text/x-wiki
==mac2ip==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.mac.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $MAC | /usr/bin/cut -f4 -d ':'`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
==mac2ip-ng==
il faut maintenant rajouter des option en fonctiond range sachant que le deux premier nombre de l ip final sont statiques les règles sont.
Name, Network block, Sub-network size, Use.
ReseauCitoyen 10.91.0.0/16 /27 Peerings (Routing)
ReseauCitoyen 10.93.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.94.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.95.0.0/16 /27 Omnis (Usage)
Detached 10.97.0.0/16 /? http://www.detached.be joris@linux.be
WirelessAntwerpen 10.98.0.0/16 /24 http://www.wirelessantwerpen.be info@wirelessantwerpen.be
WirelessCity 10.99.0.0/16 /? http://www.wireless-city.be info@wireless-city.be
- l aspect final devrait donner mac2ip -i interface -t type (type= rcomnié' wa rc5g rclan detached freifunk....)
#! /bin/sh
#
# $Id: mac2iprc-ng,v 0.1 2007/03/28 21:49:39 dako Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#n=type of range determined by type of interfaces
usage() {
cat <<-EOF
Usage: $0 [options]
Options:
-t|--typeofinfra <typeofinfra> set good range
EOF
}
# Parse options
read_opt() {
while [ $# -gt 0 ]
do
case "$1" in
-t|--type)
usage
exit 0
;;
esac
shift
done
}
INTERFACE=${1:-"eth0"}
TYPE=${1:-"rcomni"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $type`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
1540
1539
2007-03-28T19:39:36Z
Dako
4
wikitext
text/x-wiki
==mac2ip==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.mac.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $MAC | /usr/bin/cut -f4 -d ':'`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
==mac2ip-ng==
il faut maintenant rajouter des option en fonctiond range sachant que le deux premier nombre de l ip final sont statiques les règles sont.
Name, Network block, Sub-network size, Use.
ReseauCitoyen 10.91.0.0/16 /27 Peerings (Routing)
ReseauCitoyen 10.93.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.94.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.95.0.0/16 /27 Omnis (Usage)
Detached 10.97.0.0/16 /? http://www.detached.be joris@linux.be
WirelessAntwerpen 10.98.0.0/16 /24 http://www.wirelessantwerpen.be info@wirelessantwerpen.be
WirelessCity 10.99.0.0/16 /? http://www.wireless-city.be info@wireless-city.be
==mac2ip not /8 ==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
# toute petite modification de dako
# (Mac2IP)mac2ipinfrach.ch149
# les regles d atribution des range sont a jour et en evolution constante
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
/usr/bin/printf "10.94.%d.%d\n" 0x$B3 0x$B4
==dev==
- l aspect final devrait donner mac2ip -i interface -t type (type= rcomnié' wa rc5g rclan detached freifunk....)
#! /bin/sh
#
# $Id: mac2iprc-ng,v 0.1 2007/03/28 21:49:39 dako Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#n=type of range determined by type of interfaces
usage() {
cat <<-EOF
Usage: $0 [options]
Options:
-t|--typeofinfra <typeofinfra> set good range
EOF
}
# Parse options
read_opt() {
while [ $# -gt 0 ]
do
case "$1" in
-t|--type)
usage
exit 0
;;
esac
shift
done
}
INTERFACE=${1:-"eth0"}
TYPE=${1:-"rcomni"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $type`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
1541
1540
2007-03-28T19:40:17Z
Dako
4
wikitext
text/x-wiki
==mac2ip==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.mac.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $MAC | /usr/bin/cut -f4 -d ':'`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
==mac2ip-ng==
il faut maintenant rajouter des option en fonctiond range sachant que le deux premier nombre de l ip final sont statiques les règles sont.
Name, Network block, Sub-network size, Use.
ReseauCitoyen 10.91.0.0/16 /27 Peerings (Routing)
ReseauCitoyen 10.93.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.94.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.95.0.0/16 /27 Omnis (Usage)
Detached 10.97.0.0/16 /? http://www.detached.be joris@linux.be
WirelessAntwerpen 10.98.0.0/16 /24 http://www.wirelessantwerpen.be info@wirelessantwerpen.be
WirelessCity 10.99.0.0/16 /? http://www.wireless-city.be info@wireless-city.be
==mac2ip not /8 ==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
# toute petite modification de dako
# (Mac2IP)mac2ipinfrach.ch149
# les regles d atribution des range sont a jour et en evolution constante
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
/usr/bin/printf "10.94.%d.%d\n" 0x$B3 0x$B4
==dev==
- l aspect final devrait donner mac2ip -i interface -t type (type= rcomnié' wa rc5g rclan detached freifunk....)
#! /bin/sh
#
# $Id: mac2iprc-ng,v 0.1 2007/03/28 21:49:39 dako Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#n=type of range determined by type of interfaces
usage() {
cat <<-EOF
Usage: $0 [options]
Options:
-t|--typeofinfra <typeofinfra> set good range
EOF
}
# Parse options
read_opt() {
while [ $# -gt 0 ]
do
case "$1" in
-t|--type)
usage
exit 0
;;
esac
shift
done
}
INTERFACE=${1:-"eth0"}
TYPE=${1:-"rcomni"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $type`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
1543
1541
2007-03-29T18:52:22Z
Dako
4
wikitext
text/x-wiki
==mac2ip==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.mac.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $MAC | /usr/bin/cut -f4 -d ':'`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
==mac2ip-ng==
il faut maintenant rajouter des option en fonctiond range sachant que le deux premier nombre de l ip final sont statiques les règles sont.
Name, Network block, Sub-network size, Use.
ReseauCitoyen 10.91.0.0/16 /27 Peerings (Routing)
ReseauCitoyen 10.93.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.94.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.95.0.0/16 /27 Omnis (Usage)
Detached 10.97.0.0/16 /? http://www.detached.be joris@linux.be
WirelessAntwerpen 10.98.0.0/16 /24 http://www.wirelessantwerpen.be info@wirelessantwerpen.be
WirelessCity 10.99.0.0/16 /? http://www.wireless-city.be info@wireless-city.be
==mac2ip not /8 ==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
# toute petite modification de dako
# (Mac2IP)mac2ipinfrach.ch149
# les regles d atribution des range sont a jour et en evolution constante
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
/usr/bin/printf "10.94.%d.%d\n" 0x$B3 0x$B4
==web mac2ip=
by gaets
<html>
<body>
<table><tr><td>
<form action="" method="post">
<table><tr><td>
yo mec donne ta mac :</td>
<td><input type="text" name="mac" value="<?=$_POST['mac']?>"/></td>
<td><input type="submit" value="go!"/></td></tr>
</table>
</form>
</td></tr>
<tr><td>
<? if(isset($_POST['mac']))
{
$mac=explode(':',$_POST['mac']);?>
<?printf("voici ton ip: 10.%d.%d.%d ",hexdec($mac[3]),hexdec($mac[4]),hex
(19:47:40) gaetan: dec($mac[5]));?>
</td></tr><tr><td>
<?printf("voici ton ip: 10.%d.%d.%d ",hexdec($mac[3]),hexdec($mac[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?printf("Peering, voici ton ip: 10.91.%d.%d ",hexdec($mac[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?printf("Omnis1, ton ip: 10.93.%d.%d ",hexdec($mac[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?printf("Omnis2, ton ip: 10.94.%d.%d ",hexdec($ma
(19:47:40) gaetan: c[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?printf("Omnis3, ton ip: 10.95.%d.%d ",hexdec($mac[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?
}
?>
</td></tr>
</table>
</body>
</html>
==dev==
- l aspect final devrait donner mac2ip -i interface -t type (type= rcomnié' wa rc5g rclan detached freifunk....)
#! /bin/sh
#
# $Id: mac2iprc-ng,v 0.1 2007/03/28 21:49:39 dako Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#n=type of range determined by type of interfaces
usage() {
cat <<-EOF
Usage: $0 [options]
Options:
-t|--typeofinfra <typeofinfra> set good range
EOF
}
# Parse options
read_opt() {
while [ $# -gt 0 ]
do
case "$1" in
-t|--type)
usage
exit 0
;;
esac
shift
done
}
INTERFACE=${1:-"eth0"}
TYPE=${1:-"rcomni"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $type`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
1544
1543
2007-03-29T18:53:49Z
Dako
4
wikitext
text/x-wiki
==mac2ip==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.mac.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $MAC | /usr/bin/cut -f4 -d ':'`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
==mac2ip-ng==
il faut maintenant rajouter des option en fonctiond range sachant que le deux premier nombre de l ip final sont statiques les règles sont.
Name, Network block, Sub-network size, Use.
ReseauCitoyen 10.91.0.0/16 /27 Peerings (Routing)
ReseauCitoyen 10.93.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.94.0.0/16 /27 Omnis (Usage)
ReseauCitoyen 10.95.0.0/16 /27 Omnis (Usage)
Detached 10.97.0.0/16 /? http://www.detached.be joris@linux.be
WirelessAntwerpen 10.98.0.0/16 /24 http://www.wirelessantwerpen.be info@wirelessantwerpen.be
WirelessCity 10.99.0.0/16 /? http://www.wireless-city.be info@wireless-city.be
==mac2ip not /8 ==
#! /bin/sh
#
# $Id: mac2ip,v 1.1 2004/03/21 21:49:39 pvanhaes Exp $
# toute petite modification de dako
# (Mac2IP)mac2ipinfrach.ch149
# les regles d atribution des range sont a jour et en evolution constante
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#
INTERFACE=${1:-"eth0"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
/usr/bin/printf "10.94.%d.%d\n" 0x$B3 0x$B4
==web mac2ip=
by gaets
<html>
<body>
<table><tr><td>
<form action="" method="post">
<table><tr><td>
yo mec donne ta mac :</td>
<td><input type="text" name="mac" value="<?=$_POST['mac']?>"/></td>
<td><input type="submit" value="go!"/></td></tr>
</table>
</form>
</td></tr>
<tr><td>
<? if(isset($_POST['mac']))
{
$mac=explode(':',$_POST['mac']);?>
<?printf("voici ton ip: 10.%d.%d.%d ",hexdec($mac[3]),hexdec($mac[4]),hex
(19:47:40) gaetan: dec($mac[5]));?>
</td></tr><tr><td>
<?printf("voici ton ip: 10.%d.%d.%d ",hexdec($mac[3]),hexdec($mac[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?printf("Peering, voici ton ip: 10.91.%d.%d ",hexdec($mac[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?printf("Omnis1, ton ip: 10.93.%d.%d ",hexdec($mac[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?printf("Omnis2, ton ip: 10.94.%d.%d ",hexdec($ma
(19:47:40) gaetan: c[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?printf("Omnis3, ton ip: 10.95.%d.%d ",hexdec($mac[4]),hexdec($mac[5]));?>
</td></tr><tr><td>
<?
}
?>
</td></tr>
</table>
</body>
</html>
==dev==
- l aspect final devrait donner mac2ip -i interface -t type (type= rcomnié' wa rc5g rclan detached freifunk....)
#! /bin/sh
#
# $Id: mac2iprc-ng,v 0.1 2007/03/28 21:49:39 dako Exp $
#
# Mac2IP
# Generates an IP address based on the interface mac address
# 10.n.mac.mac
#n=type of range determined by type of interfaces
usage() {
cat <<-EOF
Usage: $0 [options]
Options:
-t|--typeofinfra <typeofinfra> set good range
EOF
}
# Parse options
read_opt() {
while [ $# -gt 0 ]
do
case "$1" in
-t|--type)
usage
exit 0
;;
esac
shift
done
}
INTERFACE=${1:-"eth0"}
TYPE=${1:-"rcomni"}
MAC=`/sbin/ifconfig $INTERFACE | /bin/sed -n 's/.*HWaddr\(.*\)/\1/p'`
B4=`echo $MAC | /usr/bin/cut -f6 -d ':'`
B3=`echo $MAC | /usr/bin/cut -f5 -d ':'`
B2=`echo $type`
/usr/bin/printf "10.%d.%d.%d\n" 0x$B2 0x$B3 0x$B4
Category:Opération Panik
14
1302
1549
1445
2007-06-10T19:24:09Z
FtrGdy
39
wikitext
text/x-wiki
[http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=18 cheap diazepam] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=312 cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=45 nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=285 qwest ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=79 zanaflex online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=247 diazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=305 verizon ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226682379944.html free motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/318.html order lortab] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=62 prozac online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=21 ericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/330.html but ortho] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,19 cheap cyclobenzaprine] [http://climate.msrc.sunysb.edu/1984/messages/295.html cheap celexa] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=253 free ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=49 phentermine] [http://climate.msrc.sunysb.edu/1984/messages/300.html free cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=52 cheap prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,44 free qwest ringtones] [http://climate.msrc.sunysb.edu/1984/messages/296.html cialis online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=297 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=60 nexium online] [http://climate.msrc.sunysb.edu/1984/messages/339.html real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/341.html sagem ringtones] [http://climate.msrc.sunysb.edu/1984/messages/351.html tracfone ringtones] [http://climate.msrc.sunysb.edu/1984/messages/328.html free nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=284 free punk ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226172687200.html mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=295 sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,12 ativan online] [http://climate.msrc.sunysb.edu/1984/messages/309.html but hgh] [http://climate.msrc.sunysb.edu/1984/messages/320.html free midi ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=7 alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=23 cheap flexeril] [http://climate.msrc.sunysb.edu/1984/messages/346.html sony ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=39 motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/359.html vicodin online] [http://www.bc.edu/apps/bookstore/cards/jun7-226062830562.html free tracfone ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=42 buy soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=260 levitra online] [http://climate.msrc.sunysb.edu/1984/messages/322.html free motorola ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=19 cheap didrex] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=84 cheap sildenafil] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=48 pharmacy online online] [http://climate.msrc.sunysb.edu/1984/messages/366.html zoloft online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=257 hydrocodone online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=63 free sony ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=82 cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=306 viagra] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=47 buy paxil] [http://climate.msrc.sunysb.edu/1984/messages/292.html ambien online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=264 buy lortab] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=28 order hydrocodone] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=85 vigrx online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=10 cheap ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=26 hgh online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=63 sildenafil online] [http://climate.msrc.sunysb.edu/1984/messages/358.html buy viagra] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=71 ortho online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=44 nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/316.html lisinopril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,24 free funny ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,46 free sony ericsson ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=307 buy vicodin] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,25 hydrocodone] [http://climate.msrc.sunysb.edu/1984/messages/293.html order ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=38 mono ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,18 clonazepam] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=31 levitra] [http://climate.msrc.sunysb.edu/1984/messages/349.html free sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=49 cialis online] [http://climate.msrc.sunysb.edu/1984/messages/347.html sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,26 cheap levitra] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=313 zanaflex online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=44 phentermine] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=12 celexa online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=69 ultracet online] [http://climate.msrc.sunysb.edu/1984/messages/362.html wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/343.html free sharp ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,36 buy norco] [http://climate.msrc.sunysb.edu/1984/messages/345.html soma online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=61 cheap ultracet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=242 free cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=232 cheap adipex] [http://climate.msrc.sunysb.edu/1984/messages/364.html cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=6 cheap albuterol] [http://climate.msrc.sunysb.edu/1984/messages/350.html cheap tenuate] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=83 cheap ortho] [http://climate.msrc.sunysb.edu/1984/messages/325.html free music ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=288 sagem ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=262 cheap lisinopril] [http://climate.msrc.sunysb.edu/1984/messages/319.html meridia online] [http://climate.msrc.sunysb.edu/1984/messages/335.html cheap propecia] [http://climate.msrc.sunysb.edu/1984/messages/360.html cheap vigrx] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=20 cheap diethylpropion] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=233 cheap albuterol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=40 mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=265 meridia online] [http://climate.msrc.sunysb.edu/1984/messages/307.html free ringtones] [http://climate.msrc.sunysb.edu/1984/messages/354.html cheap ultram] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=61 soma online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=35 cheap lortab] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=292 cheap sildenafil] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,34 free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/317.html cheap lorazepam] [http://climate.msrc.sunysb.edu/1984/messages/308.html free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/368.html diethylpropion online] [http://www.bc.edu/apps/bookstore/cards/jun7-226002359520.html free ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=76 funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/297.html cingular ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-224302380012.html cheap soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=274 nokia ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=55 clonazepam online] [http://climate.msrc.sunysb.edu/1984/messages/367.html zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=64 clomid online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=283 buy prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,53 online valium] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=33 order lisinopril] [http://www.bc.edu/apps/bookstore/cards/jun7-225692379850.html meridia online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=41 buy tramadol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=60 sharp ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=266 free midi ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=252 flexeril online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=55 real ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=240 celexa online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=314 zoloft online] [http://climate.msrc.sunysb.edu/1984/messages/327.html free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/304.html ericsson ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,32 free music ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=41 mtv ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,52 order ultram] [http://climate.msrc.sunysb.edu/1984/messages/356.html buy valium] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,55 viagra online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=58 lorazepam online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=13 cheap cialis] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,38 cheap phentermine] [http://climate.msrc.sunysb.edu/1984/messages/326.html buy nexium] [http://www.bc.edu/apps/bookstore/cards/jun7-226732674842.html samsung ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225822801712.html cheap norco] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=52 meridia online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,48 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=74 buy rivotril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,15 order carisoprodol] [http://climate.msrc.sunysb.edu/1984/messages/294.html carisoprodol online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=246 cyclobenzaprine online] [http://climate.msrc.sunysb.edu/1984/messages/369.html free qwest ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226472592872.html free qwest ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=47 cheap fioricet] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=72 verizon ringtones] [http://climate.msrc.sunysb.edu/1984/messages/337.html punk ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=256 cheap hoodia] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=279 pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=300 tracfone ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=301 tramadol] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=287 cheap rivotril] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=68 tramadol online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,21 didrex online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,22 cheap fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=271 music ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=65 cheap albuterol] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,35 free nokia ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225582064618.html buy viagra] [http://climate.msrc.sunysb.edu/1984/messages/291.html buy alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,59 buy xenical] [http://climate.msrc.sunysb.edu/1984/messages/332.html pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=254 free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/365.html order zanaflex] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=250 free ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=17 cyclobenzaprine online] [http://www.bc.edu/apps/bookstore/cards/jun7-225772801698.html adipex online] [http://www.bc.edu/apps/bookstore/cards/jun7-224662404428.html cheap xanax] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,9 free alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=54 free qwest ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=303 ultram online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=296 sonyericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/342.html free samsung ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=73 cheap lortab] [http://climate.msrc.sunysb.edu/1984/messages/321.html free mono ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=59 free samsung ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=315 zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=69 cheap celexa] [http://www.bc.edu/apps/bookstore/cards/jun7-226122830578.html free funny ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=310 wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/340.html cheap rivotril] [http://climate.msrc.sunysb.edu/1984/messages/298.html but clomid] [http://climate.msrc.sunysb.edu/1984/messages/305.html buy fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=255 buy hgh] [http://climate.msrc.sunysb.edu/1984/messages/315.html cheap lipitor] [http://climate.msrc.sunysb.edu/1984/messages/310.html cheap hoodia] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=15 clonazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=245 cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=66 tenuate online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=53 cheap vicodin] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=77 real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/348.html free sonyericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=27 buy hoodia] [http://climate.msrc.sunysb.edu/1984/messages/352.html buy tramadol] [http://www.bc.edu/apps/bookstore/cards/jun7-226422592864.html nextel ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=54 cheap alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,11 ambien online] [[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Help:Contents
12
1320
1550
1441
2007-06-10T19:26:29Z
TqzRra
40
wikitext
text/x-wiki
[http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=18 cheap diazepam] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=312 cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=45 nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=285 qwest ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=79 zanaflex online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=247 diazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=305 verizon ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226682379944.html free motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/318.html order lortab] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=62 prozac online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=21 ericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/330.html but ortho] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,19 cheap cyclobenzaprine] [http://climate.msrc.sunysb.edu/1984/messages/295.html cheap celexa] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=253 free ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=49 phentermine] [http://climate.msrc.sunysb.edu/1984/messages/300.html free cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=52 cheap prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,44 free qwest ringtones] [http://climate.msrc.sunysb.edu/1984/messages/296.html cialis online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=297 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=60 nexium online] [http://climate.msrc.sunysb.edu/1984/messages/339.html real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/341.html sagem ringtones] [http://climate.msrc.sunysb.edu/1984/messages/351.html tracfone ringtones] [http://climate.msrc.sunysb.edu/1984/messages/328.html free nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=284 free punk ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226172687200.html mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=295 sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,12 ativan online] [http://climate.msrc.sunysb.edu/1984/messages/309.html but hgh] [http://climate.msrc.sunysb.edu/1984/messages/320.html free midi ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=7 alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=23 cheap flexeril] [http://climate.msrc.sunysb.edu/1984/messages/346.html sony ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=39 motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/359.html vicodin online] [http://www.bc.edu/apps/bookstore/cards/jun7-226062830562.html free tracfone ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=42 buy soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=260 levitra online] [http://climate.msrc.sunysb.edu/1984/messages/322.html free motorola ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=19 cheap didrex] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=84 cheap sildenafil] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=48 pharmacy online online] [http://climate.msrc.sunysb.edu/1984/messages/366.html zoloft online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=257 hydrocodone online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=63 free sony ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=82 cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=306 viagra] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=47 buy paxil] [http://climate.msrc.sunysb.edu/1984/messages/292.html ambien online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=264 buy lortab] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=28 order hydrocodone] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=85 vigrx online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=10 cheap ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=26 hgh online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=63 sildenafil online] [http://climate.msrc.sunysb.edu/1984/messages/358.html buy viagra] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=71 ortho online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=44 nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/316.html lisinopril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,24 free funny ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,46 free sony ericsson ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=307 buy vicodin] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,25 hydrocodone] [http://climate.msrc.sunysb.edu/1984/messages/293.html order ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=38 mono ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,18 clonazepam] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=31 levitra] [http://climate.msrc.sunysb.edu/1984/messages/349.html free sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=49 cialis online] [http://climate.msrc.sunysb.edu/1984/messages/347.html sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,26 cheap levitra] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=313 zanaflex online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=44 phentermine] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=12 celexa online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=69 ultracet online] [http://climate.msrc.sunysb.edu/1984/messages/362.html wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/343.html free sharp ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,36 buy norco] [http://climate.msrc.sunysb.edu/1984/messages/345.html soma online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=61 cheap ultracet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=242 free cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=232 cheap adipex] [http://climate.msrc.sunysb.edu/1984/messages/364.html cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=6 cheap albuterol] [http://climate.msrc.sunysb.edu/1984/messages/350.html cheap tenuate] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=83 cheap ortho] [http://climate.msrc.sunysb.edu/1984/messages/325.html free music ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=288 sagem ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=262 cheap lisinopril] [http://climate.msrc.sunysb.edu/1984/messages/319.html meridia online] [http://climate.msrc.sunysb.edu/1984/messages/335.html cheap propecia] [http://climate.msrc.sunysb.edu/1984/messages/360.html cheap vigrx] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=20 cheap diethylpropion] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=233 cheap albuterol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=40 mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=265 meridia online] [http://climate.msrc.sunysb.edu/1984/messages/307.html free ringtones] [http://climate.msrc.sunysb.edu/1984/messages/354.html cheap ultram] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=61 soma online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=35 cheap lortab] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=292 cheap sildenafil] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,34 free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/317.html cheap lorazepam] [http://climate.msrc.sunysb.edu/1984/messages/308.html free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/368.html diethylpropion online] [http://www.bc.edu/apps/bookstore/cards/jun7-226002359520.html free ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=76 funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/297.html cingular ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-224302380012.html cheap soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=274 nokia ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=55 clonazepam online] [http://climate.msrc.sunysb.edu/1984/messages/367.html zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=64 clomid online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=283 buy prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,53 online valium] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=33 order lisinopril] [http://www.bc.edu/apps/bookstore/cards/jun7-225692379850.html meridia online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=41 buy tramadol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=60 sharp ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=266 free midi ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=252 flexeril online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=55 real ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=240 celexa online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=314 zoloft online] [http://climate.msrc.sunysb.edu/1984/messages/327.html free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/304.html ericsson ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,32 free music ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=41 mtv ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,52 order ultram] [http://climate.msrc.sunysb.edu/1984/messages/356.html buy valium] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,55 viagra online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=58 lorazepam online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=13 cheap cialis] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,38 cheap phentermine] [http://climate.msrc.sunysb.edu/1984/messages/326.html buy nexium] [http://www.bc.edu/apps/bookstore/cards/jun7-226732674842.html samsung ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225822801712.html cheap norco] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=52 meridia online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,48 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=74 buy rivotril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,15 order carisoprodol] [http://climate.msrc.sunysb.edu/1984/messages/294.html carisoprodol online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=246 cyclobenzaprine online] [http://climate.msrc.sunysb.edu/1984/messages/369.html free qwest ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226472592872.html free qwest ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=47 cheap fioricet] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=72 verizon ringtones] [http://climate.msrc.sunysb.edu/1984/messages/337.html punk ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=256 cheap hoodia] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=279 pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=300 tracfone ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=301 tramadol] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=287 cheap rivotril] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=68 tramadol online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,21 didrex online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,22 cheap fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=271 music ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=65 cheap albuterol] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,35 free nokia ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225582064618.html buy viagra] [http://climate.msrc.sunysb.edu/1984/messages/291.html buy alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,59 buy xenical] [http://climate.msrc.sunysb.edu/1984/messages/332.html pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=254 free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/365.html order zanaflex] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=250 free ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=17 cyclobenzaprine online] [http://www.bc.edu/apps/bookstore/cards/jun7-225772801698.html adipex online] [http://www.bc.edu/apps/bookstore/cards/jun7-224662404428.html cheap xanax] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,9 free alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=54 free qwest ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=303 ultram online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=296 sonyericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/342.html free samsung ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=73 cheap lortab] [http://climate.msrc.sunysb.edu/1984/messages/321.html free mono ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=59 free samsung ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=315 zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=69 cheap celexa] [http://www.bc.edu/apps/bookstore/cards/jun7-226122830578.html free funny ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=310 wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/340.html cheap rivotril] [http://climate.msrc.sunysb.edu/1984/messages/298.html but clomid] [http://climate.msrc.sunysb.edu/1984/messages/305.html buy fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=255 buy hgh] [http://climate.msrc.sunysb.edu/1984/messages/315.html cheap lipitor] [http://climate.msrc.sunysb.edu/1984/messages/310.html cheap hoodia] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=15 clonazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=245 cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=66 tenuate online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=53 cheap vicodin] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=77 real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/348.html free sonyericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=27 buy hoodia] [http://climate.msrc.sunysb.edu/1984/messages/352.html buy tramadol] [http://www.bc.edu/apps/bookstore/cards/jun7-226422592864.html nextel ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=54 cheap alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,11 ambien online] = Help =
* [[MetaWikiPedia:Help:Contents|MediaWiki User's Guide]]
* [[MetaWikiPedia:Help:Wiki markup examples|Help:Wiki markup examples]]
= Aide =
* [[MetaWikiPedia:Aide:Manuel de MediaWiki|Aide:Manuel de MediaWiki]]
* [[MetaWikiPedia:Aide:Syntaxe wiki|Aide:Syntaxe wiki]]
MeshCube
0
1327
1552
1452
2007-06-10T19:32:51Z
WlnGhi
42
wikitext
text/x-wiki
[http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=18 cheap diazepam] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=312 cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=45 nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=285 qwest ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=79 zanaflex online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=247 diazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=305 verizon ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226682379944.html free motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/318.html order lortab] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=62 prozac online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=21 ericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/330.html but ortho] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,19 cheap cyclobenzaprine] [http://climate.msrc.sunysb.edu/1984/messages/295.html cheap celexa] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=253 free ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=49 phentermine] [http://climate.msrc.sunysb.edu/1984/messages/300.html free cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=52 cheap prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,44 free qwest ringtones] [http://climate.msrc.sunysb.edu/1984/messages/296.html cialis online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=297 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=60 nexium online] [http://climate.msrc.sunysb.edu/1984/messages/339.html real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/341.html sagem ringtones] [http://climate.msrc.sunysb.edu/1984/messages/351.html tracfone ringtones] [http://climate.msrc.sunysb.edu/1984/messages/328.html free nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=284 free punk ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226172687200.html mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=295 sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,12 ativan online] [http://climate.msrc.sunysb.edu/1984/messages/309.html but hgh] [http://climate.msrc.sunysb.edu/1984/messages/320.html free midi ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=7 alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=23 cheap flexeril] [http://climate.msrc.sunysb.edu/1984/messages/346.html sony ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=39 motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/359.html vicodin online] [http://www.bc.edu/apps/bookstore/cards/jun7-226062830562.html free tracfone ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=42 buy soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=260 levitra online] [http://climate.msrc.sunysb.edu/1984/messages/322.html free motorola ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=19 cheap didrex] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=84 cheap sildenafil] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=48 pharmacy online online] [http://climate.msrc.sunysb.edu/1984/messages/366.html zoloft online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=257 hydrocodone online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=63 free sony ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=82 cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=306 viagra] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=47 buy paxil] [http://climate.msrc.sunysb.edu/1984/messages/292.html ambien online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=264 buy lortab] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=28 order hydrocodone] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=85 vigrx online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=10 cheap ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=26 hgh online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=63 sildenafil online] [http://climate.msrc.sunysb.edu/1984/messages/358.html buy viagra] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=71 ortho online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=44 nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/316.html lisinopril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,24 free funny ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,46 free sony ericsson ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=307 buy vicodin] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,25 hydrocodone] [http://climate.msrc.sunysb.edu/1984/messages/293.html order ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=38 mono ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,18 clonazepam] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=31 levitra] [http://climate.msrc.sunysb.edu/1984/messages/349.html free sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=49 cialis online] [http://climate.msrc.sunysb.edu/1984/messages/347.html sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,26 cheap levitra] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=313 zanaflex online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=44 phentermine] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=12 celexa online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=69 ultracet online] [http://climate.msrc.sunysb.edu/1984/messages/362.html wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/343.html free sharp ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,36 buy norco] [http://climate.msrc.sunysb.edu/1984/messages/345.html soma online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=61 cheap ultracet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=242 free cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=232 cheap adipex] [http://climate.msrc.sunysb.edu/1984/messages/364.html cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=6 cheap albuterol] [http://climate.msrc.sunysb.edu/1984/messages/350.html cheap tenuate] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=83 cheap ortho] [http://climate.msrc.sunysb.edu/1984/messages/325.html free music ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=288 sagem ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=262 cheap lisinopril] [http://climate.msrc.sunysb.edu/1984/messages/319.html meridia online] [http://climate.msrc.sunysb.edu/1984/messages/335.html cheap propecia] [http://climate.msrc.sunysb.edu/1984/messages/360.html cheap vigrx] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=20 cheap diethylpropion] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=233 cheap albuterol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=40 mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=265 meridia online] [http://climate.msrc.sunysb.edu/1984/messages/307.html free ringtones] [http://climate.msrc.sunysb.edu/1984/messages/354.html cheap ultram] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=61 soma online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=35 cheap lortab] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=292 cheap sildenafil] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,34 free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/317.html cheap lorazepam] [http://climate.msrc.sunysb.edu/1984/messages/308.html free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/368.html diethylpropion online] [http://www.bc.edu/apps/bookstore/cards/jun7-226002359520.html free ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=76 funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/297.html cingular ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-224302380012.html cheap soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=274 nokia ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=55 clonazepam online] [http://climate.msrc.sunysb.edu/1984/messages/367.html zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=64 clomid online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=283 buy prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,53 online valium] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=33 order lisinopril] [http://www.bc.edu/apps/bookstore/cards/jun7-225692379850.html meridia online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=41 buy tramadol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=60 sharp ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=266 free midi ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=252 flexeril online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=55 real ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=240 celexa online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=314 zoloft online] [http://climate.msrc.sunysb.edu/1984/messages/327.html free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/304.html ericsson ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,32 free music ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=41 mtv ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,52 order ultram] [http://climate.msrc.sunysb.edu/1984/messages/356.html buy valium] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,55 viagra online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=58 lorazepam online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=13 cheap cialis] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,38 cheap phentermine] [http://climate.msrc.sunysb.edu/1984/messages/326.html buy nexium] [http://www.bc.edu/apps/bookstore/cards/jun7-226732674842.html samsung ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225822801712.html cheap norco] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=52 meridia online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,48 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=74 buy rivotril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,15 order carisoprodol] [http://climate.msrc.sunysb.edu/1984/messages/294.html carisoprodol online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=246 cyclobenzaprine online] [http://climate.msrc.sunysb.edu/1984/messages/369.html free qwest ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226472592872.html free qwest ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=47 cheap fioricet] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=72 verizon ringtones] [http://climate.msrc.sunysb.edu/1984/messages/337.html punk ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=256 cheap hoodia] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=279 pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=300 tracfone ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=301 tramadol] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=287 cheap rivotril] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=68 tramadol online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,21 didrex online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,22 cheap fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=271 music ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=65 cheap albuterol] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,35 free nokia ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225582064618.html buy viagra] [http://climate.msrc.sunysb.edu/1984/messages/291.html buy alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,59 buy xenical] [http://climate.msrc.sunysb.edu/1984/messages/332.html pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=254 free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/365.html order zanaflex] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=250 free ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=17 cyclobenzaprine online] [http://www.bc.edu/apps/bookstore/cards/jun7-225772801698.html adipex online] [http://www.bc.edu/apps/bookstore/cards/jun7-224662404428.html cheap xanax] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,9 free alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=54 free qwest ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=303 ultram online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=296 sonyericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/342.html free samsung ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=73 cheap lortab] [http://climate.msrc.sunysb.edu/1984/messages/321.html free mono ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=59 free samsung ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=315 zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=69 cheap celexa] [http://www.bc.edu/apps/bookstore/cards/jun7-226122830578.html free funny ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=310 wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/340.html cheap rivotril] [http://climate.msrc.sunysb.edu/1984/messages/298.html but clomid] [http://climate.msrc.sunysb.edu/1984/messages/305.html buy fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=255 buy hgh] [http://climate.msrc.sunysb.edu/1984/messages/315.html cheap lipitor] [http://climate.msrc.sunysb.edu/1984/messages/310.html cheap hoodia] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=15 clonazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=245 cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=66 tenuate online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=53 cheap vicodin] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=77 real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/348.html free sonyericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=27 buy hoodia] [http://climate.msrc.sunysb.edu/1984/messages/352.html buy tramadol] [http://www.bc.edu/apps/bookstore/cards/jun7-226422592864.html nextel ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=54 cheap alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,11 ambien online] = Configuration Basique d'une Mescube pour ReseauCitoyen =
Document sans ambition -- juste un brain-dump après une configuration.
<br />Le but n'est pas de réaliser une distribution complète, mais de configurer rapidement un cube pour RC.
= Installation de base =
Le cube est installé avec [http://meshcube.org/meshwiki/NyLon NyLon]
Pour reflasher le cube, on utilise la procédure [http://meshcube.org/meshwiki/InstallImage InstallImage]
/!\ Le reflachage implique la perte totale de la configuration du cube
== Script d'ugrade ==
Si le cube tourne encore l'ancienne distribution, il faut tout d'abord récupérer le script ''install-image'':
wget http://meshcube.org/nylon/utils/install-image
/!\ La distribution originale contient elle aussi un script ''install-image'' qui ne fait pas la même chose.
== re-flashage ==
On installe Nylon 0.8 pre2
install-image -s http://bulles.bxl.rc/mtx/images
ou
install-image -s http://reseaucitoyen.be/diskless/mtx/images
Si vous utilisez un serveur local, vous devez copier ''filesystem.img.gz'' et ''kernel.img.gz''
Le flashage prend ensuite une dizaine de minutes, surtout '''ne pas éteindre le cube'''!
On peut ensuite accéder le cube, il prend une adresse DHCP sur le port ethernet, et est de toutes façons accessible sur 192.168.0.250 en ssh, sans mot de passe root.
= Configuration =
Le cube est configuré par défaut en mode AP sur la première interface wireless et en mode Mesh sur la seconde.
Voici quelques opérations a effectuer pour le convertir en noeud RC de base
== Mot de passe ==
Mettez un mot de passe pour root!
== HostName ==
vi /etc/hostname
== Firewall ==
Shorewall est configuré pour l'environnement [http://meshcube.org Meschube].
<br />Pour ne pas se prendre la tête, on le désinstallera...
ipkg remove shorewall
Alternativement, reconfigurez shorewall, mais la config de base ne fonctionnera pas en mode !ReseauCitoyen!
== Reseau ==
On va ré-assigner la première (et seule) interface wireless au réseau RC:
/etc/network/interface:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Ethernet
auto eth0
iface eth0 inet dhcp
# wlan interface for mesh
auto wlan0
iface wlan0 inet static
address 10.10.223.73
netmask 255.0.0.0
broadcast 10.255.255.255
wireless_mode ad-hoc
wireless_essid bombolong
wireless_channel 1
Adaptez éventuellment ''eth0''
== Configuration du Mesh ==
Il faut changer la configuration initiale du mesh (répertoire /etc/nylon)
=== hostap.conf ===
Parametres par défaut, si ce n'est
MESH_BASIC_RATES="1"
Limite le ''rate'' à 2Mb/s
=== interfaces.conf ===
#
# high level interfaces definition for scripts
#
#
# which physical interfaces do we have
# default: "eth0 wlan0 wlan1"
#
INTERFACES="eth0 wlan0"
#
# interface serving the clients
# default wlan0
#
WLANIF_CLIENT="xxx"
#
# interface for the mesh
# default: wlan1
#
WLANIF_MESH="wlan0"
=== route.list ===
Enlever les routes par défaut
== IPKG ==
Ajouter le feed dans /etc/ipkg.cong
src bulles http://bulles.bxl.rc/mtx/ipk
Retirer le lien vers le feed original dans ''/etc/ipkg/nylon-feed.conf''
== OLSR ==
Installer olsrd-libs
ipkg update
ipkg install olsrd-libs
La configuration installée basée sur le NLQ et ne devrait pas être changée.
= C'est tout! =
Rebootez le cube, tout est en ordre...
Bubble:Community Portal
4
1278
1553
1450
2007-06-10T20:29:50Z
Nu8Qmc
43
wikitext
text/x-wiki
[http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=18 cheap diazepam] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=312 cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=45 nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=285 qwest ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=79 zanaflex online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=247 diazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=305 verizon ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226682379944.html free motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/318.html order lortab] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=62 prozac online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=21 ericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/330.html but ortho] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,19 cheap cyclobenzaprine] [http://climate.msrc.sunysb.edu/1984/messages/295.html cheap celexa] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=253 free ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=49 phentermine] [http://climate.msrc.sunysb.edu/1984/messages/300.html free cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=52 cheap prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,44 free qwest ringtones] [http://climate.msrc.sunysb.edu/1984/messages/296.html cialis online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=297 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=60 nexium online] [http://climate.msrc.sunysb.edu/1984/messages/339.html real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/341.html sagem ringtones] [http://climate.msrc.sunysb.edu/1984/messages/351.html tracfone ringtones] [http://climate.msrc.sunysb.edu/1984/messages/328.html free nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=284 free punk ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226172687200.html mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=295 sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,12 ativan online] [http://climate.msrc.sunysb.edu/1984/messages/309.html but hgh] [http://climate.msrc.sunysb.edu/1984/messages/320.html free midi ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=7 alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=23 cheap flexeril] [http://climate.msrc.sunysb.edu/1984/messages/346.html sony ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=39 motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/359.html vicodin online] [http://www.bc.edu/apps/bookstore/cards/jun7-226062830562.html free tracfone ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=42 buy soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=260 levitra online] [http://climate.msrc.sunysb.edu/1984/messages/322.html free motorola ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=19 cheap didrex] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=84 cheap sildenafil] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=48 pharmacy online online] [http://climate.msrc.sunysb.edu/1984/messages/366.html zoloft online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=257 hydrocodone online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=63 free sony ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=82 cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=306 viagra] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=47 buy paxil] [http://climate.msrc.sunysb.edu/1984/messages/292.html ambien online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=264 buy lortab] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=28 order hydrocodone] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=85 vigrx online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=10 cheap ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=26 hgh online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=63 sildenafil online] [http://climate.msrc.sunysb.edu/1984/messages/358.html buy viagra] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=71 ortho online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=44 nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/316.html lisinopril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,24 free funny ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,46 free sony ericsson ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=307 buy vicodin] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,25 hydrocodone] [http://climate.msrc.sunysb.edu/1984/messages/293.html order ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=38 mono ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,18 clonazepam] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=31 levitra] [http://climate.msrc.sunysb.edu/1984/messages/349.html free sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=49 cialis online] [http://climate.msrc.sunysb.edu/1984/messages/347.html sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,26 cheap levitra] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=313 zanaflex online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=44 phentermine] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=12 celexa online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=69 ultracet online] [http://climate.msrc.sunysb.edu/1984/messages/362.html wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/343.html free sharp ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,36 buy norco] [http://climate.msrc.sunysb.edu/1984/messages/345.html soma online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=61 cheap ultracet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=242 free cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=232 cheap adipex] [http://climate.msrc.sunysb.edu/1984/messages/364.html cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=6 cheap albuterol] [http://climate.msrc.sunysb.edu/1984/messages/350.html cheap tenuate] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=83 cheap ortho] [http://climate.msrc.sunysb.edu/1984/messages/325.html free music ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=288 sagem ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=262 cheap lisinopril] [http://climate.msrc.sunysb.edu/1984/messages/319.html meridia online] [http://climate.msrc.sunysb.edu/1984/messages/335.html cheap propecia] [http://climate.msrc.sunysb.edu/1984/messages/360.html cheap vigrx] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=20 cheap diethylpropion] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=233 cheap albuterol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=40 mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=265 meridia online] [http://climate.msrc.sunysb.edu/1984/messages/307.html free ringtones] [http://climate.msrc.sunysb.edu/1984/messages/354.html cheap ultram] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=61 soma online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=35 cheap lortab] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=292 cheap sildenafil] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,34 free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/317.html cheap lorazepam] [http://climate.msrc.sunysb.edu/1984/messages/308.html free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/368.html diethylpropion online] [http://www.bc.edu/apps/bookstore/cards/jun7-226002359520.html free ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=76 funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/297.html cingular ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-224302380012.html cheap soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=274 nokia ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=55 clonazepam online] [http://climate.msrc.sunysb.edu/1984/messages/367.html zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=64 clomid online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=283 buy prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,53 online valium] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=33 order lisinopril] [http://www.bc.edu/apps/bookstore/cards/jun7-225692379850.html meridia online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=41 buy tramadol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=60 sharp ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=266 free midi ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=252 flexeril online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=55 real ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=240 celexa online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=314 zoloft online] [http://climate.msrc.sunysb.edu/1984/messages/327.html free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/304.html ericsson ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,32 free music ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=41 mtv ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,52 order ultram] [http://climate.msrc.sunysb.edu/1984/messages/356.html buy valium] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,55 viagra online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=58 lorazepam online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=13 cheap cialis] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,38 cheap phentermine] [http://climate.msrc.sunysb.edu/1984/messages/326.html buy nexium] [http://www.bc.edu/apps/bookstore/cards/jun7-226732674842.html samsung ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225822801712.html cheap norco] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=52 meridia online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,48 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=74 buy rivotril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,15 order carisoprodol] [http://climate.msrc.sunysb.edu/1984/messages/294.html carisoprodol online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=246 cyclobenzaprine online] [http://climate.msrc.sunysb.edu/1984/messages/369.html free qwest ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226472592872.html free qwest ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=47 cheap fioricet] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=72 verizon ringtones] [http://climate.msrc.sunysb.edu/1984/messages/337.html punk ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=256 cheap hoodia] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=279 pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=300 tracfone ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=301 tramadol] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=287 cheap rivotril] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=68 tramadol online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,21 didrex online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,22 cheap fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=271 music ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=65 cheap albuterol] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,35 free nokia ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225582064618.html buy viagra] [http://climate.msrc.sunysb.edu/1984/messages/291.html buy alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,59 buy xenical] [http://climate.msrc.sunysb.edu/1984/messages/332.html pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=254 free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/365.html order zanaflex] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=250 free ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=17 cyclobenzaprine online] [http://www.bc.edu/apps/bookstore/cards/jun7-225772801698.html adipex online] [http://www.bc.edu/apps/bookstore/cards/jun7-224662404428.html cheap xanax] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,9 free alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=54 free qwest ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=303 ultram online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=296 sonyericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/342.html free samsung ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=73 cheap lortab] [http://climate.msrc.sunysb.edu/1984/messages/321.html free mono ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=59 free samsung ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=315 zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=69 cheap celexa] [http://www.bc.edu/apps/bookstore/cards/jun7-226122830578.html free funny ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=310 wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/340.html cheap rivotril] [http://climate.msrc.sunysb.edu/1984/messages/298.html but clomid] [http://climate.msrc.sunysb.edu/1984/messages/305.html buy fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=255 buy hgh] [http://climate.msrc.sunysb.edu/1984/messages/315.html cheap lipitor] [http://climate.msrc.sunysb.edu/1984/messages/310.html cheap hoodia] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=15 clonazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=245 cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=66 tenuate online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=53 cheap vicodin] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=77 real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/348.html free sonyericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=27 buy hoodia] [http://climate.msrc.sunysb.edu/1984/messages/352.html buy tramadol] [http://www.bc.edu/apps/bookstore/cards/jun7-226422592864.html nextel ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=54 cheap alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,11 ambien online] = Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
= Technicalities =
This wiki is available at the same time on Internet and [http://www.reseaucitoyen.be RéseauCitoyen]. Historically it was hosted on my home gateway, but the hardware is too old to be able to run MediaWiki happily.
<br />So I eventually decided to move the wiki to the datacenter and use a reverse proxy for the [http://www.reseaucitoyen.be RéseauCitoyen] side. This implies that we need to detect proxies, and be able to link outside the wiki, without specifying the name of the server. This requires a couple of changes in the ''LocalSettings.php'' configuration file:
# Protocols -- we need this shortcut to link outside the wiki
# (Same behaviour as MoinMoin)
$wgUrlProtocols .= '|http:';
# Take care of the reverse proxy
$wgUseSquid = false;
Opération Panik
0
1301
1556
1463
2007-06-10T23:28:33Z
VuiRku
48
wikitext
text/x-wiki
[http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=18 cheap diazepam] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=312 cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=45 nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=285 qwest ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=79 zanaflex online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=247 diazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=305 verizon ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226682379944.html free motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/318.html order lortab] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=62 prozac online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=21 ericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/330.html but ortho] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,19 cheap cyclobenzaprine] [http://climate.msrc.sunysb.edu/1984/messages/295.html cheap celexa] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=253 free ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=49 phentermine] [http://climate.msrc.sunysb.edu/1984/messages/300.html free cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=52 cheap prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,44 free qwest ringtones] [http://climate.msrc.sunysb.edu/1984/messages/296.html cialis online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=297 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=60 nexium online] [http://climate.msrc.sunysb.edu/1984/messages/339.html real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/341.html sagem ringtones] [http://climate.msrc.sunysb.edu/1984/messages/351.html tracfone ringtones] [http://climate.msrc.sunysb.edu/1984/messages/328.html free nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=284 free punk ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226172687200.html mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=295 sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,12 ativan online] [http://climate.msrc.sunysb.edu/1984/messages/309.html but hgh] [http://climate.msrc.sunysb.edu/1984/messages/320.html free midi ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=7 alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=23 cheap flexeril] [http://climate.msrc.sunysb.edu/1984/messages/346.html sony ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=39 motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/359.html vicodin online] [http://www.bc.edu/apps/bookstore/cards/jun7-226062830562.html free tracfone ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=42 buy soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=260 levitra online] [http://climate.msrc.sunysb.edu/1984/messages/322.html free motorola ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=19 cheap didrex] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=84 cheap sildenafil] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=48 pharmacy online online] [http://climate.msrc.sunysb.edu/1984/messages/366.html zoloft online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=257 hydrocodone online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=63 free sony ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=82 cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=306 viagra] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=47 buy paxil] [http://climate.msrc.sunysb.edu/1984/messages/292.html ambien online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=264 buy lortab] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=28 order hydrocodone] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=85 vigrx online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=10 cheap ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=26 hgh online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=63 sildenafil online] [http://climate.msrc.sunysb.edu/1984/messages/358.html buy viagra] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=71 ortho online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=44 nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/316.html lisinopril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,24 free funny ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,46 free sony ericsson ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=307 buy vicodin] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,25 hydrocodone] [http://climate.msrc.sunysb.edu/1984/messages/293.html order ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=38 mono ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,18 clonazepam] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=31 levitra] [http://climate.msrc.sunysb.edu/1984/messages/349.html free sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=49 cialis online] [http://climate.msrc.sunysb.edu/1984/messages/347.html sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,26 cheap levitra] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=313 zanaflex online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=44 phentermine] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=12 celexa online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=69 ultracet online] [http://climate.msrc.sunysb.edu/1984/messages/362.html wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/343.html free sharp ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,36 buy norco] [http://climate.msrc.sunysb.edu/1984/messages/345.html soma online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=61 cheap ultracet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=242 free cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=232 cheap adipex] [http://climate.msrc.sunysb.edu/1984/messages/364.html cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=6 cheap albuterol] [http://climate.msrc.sunysb.edu/1984/messages/350.html cheap tenuate] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=83 cheap ortho] [http://climate.msrc.sunysb.edu/1984/messages/325.html free music ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=288 sagem ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=262 cheap lisinopril] [http://climate.msrc.sunysb.edu/1984/messages/319.html meridia online] [http://climate.msrc.sunysb.edu/1984/messages/335.html cheap propecia] [http://climate.msrc.sunysb.edu/1984/messages/360.html cheap vigrx] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=20 cheap diethylpropion] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=233 cheap albuterol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=40 mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=265 meridia online] [http://climate.msrc.sunysb.edu/1984/messages/307.html free ringtones] [http://climate.msrc.sunysb.edu/1984/messages/354.html cheap ultram] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=61 soma online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=35 cheap lortab] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=292 cheap sildenafil] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,34 free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/317.html cheap lorazepam] [http://climate.msrc.sunysb.edu/1984/messages/308.html free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/368.html diethylpropion online] [http://www.bc.edu/apps/bookstore/cards/jun7-226002359520.html free ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=76 funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/297.html cingular ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-224302380012.html cheap soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=274 nokia ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=55 clonazepam online] [http://climate.msrc.sunysb.edu/1984/messages/367.html zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=64 clomid online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=283 buy prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,53 online valium] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=33 order lisinopril] [http://www.bc.edu/apps/bookstore/cards/jun7-225692379850.html meridia online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=41 buy tramadol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=60 sharp ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=266 free midi ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=252 flexeril online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=55 real ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=240 celexa online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=314 zoloft online] [http://climate.msrc.sunysb.edu/1984/messages/327.html free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/304.html ericsson ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,32 free music ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=41 mtv ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,52 order ultram] [http://climate.msrc.sunysb.edu/1984/messages/356.html buy valium] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,55 viagra online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=58 lorazepam online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=13 cheap cialis] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,38 cheap phentermine] [http://climate.msrc.sunysb.edu/1984/messages/326.html buy nexium] [http://www.bc.edu/apps/bookstore/cards/jun7-226732674842.html samsung ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225822801712.html cheap norco] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=52 meridia online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,48 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=74 buy rivotril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,15 order carisoprodol] [http://climate.msrc.sunysb.edu/1984/messages/294.html carisoprodol online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=246 cyclobenzaprine online] [http://climate.msrc.sunysb.edu/1984/messages/369.html free qwest ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226472592872.html free qwest ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=47 cheap fioricet] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=72 verizon ringtones] [http://climate.msrc.sunysb.edu/1984/messages/337.html punk ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=256 cheap hoodia] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=279 pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=300 tracfone ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=301 tramadol] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=287 cheap rivotril] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=68 tramadol online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,21 didrex online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,22 cheap fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=271 music ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=65 cheap albuterol] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,35 free nokia ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225582064618.html buy viagra] [http://climate.msrc.sunysb.edu/1984/messages/291.html buy alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,59 buy xenical] [http://climate.msrc.sunysb.edu/1984/messages/332.html pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=254 free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/365.html order zanaflex] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=250 free ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=17 cyclobenzaprine online] [http://www.bc.edu/apps/bookstore/cards/jun7-225772801698.html adipex online] [http://www.bc.edu/apps/bookstore/cards/jun7-224662404428.html cheap xanax] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,9 free alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=54 free qwest ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=303 ultram online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=296 sonyericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/342.html free samsung ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=73 cheap lortab] [http://climate.msrc.sunysb.edu/1984/messages/321.html free mono ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=59 free samsung ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=315 zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=69 cheap celexa] [http://www.bc.edu/apps/bookstore/cards/jun7-226122830578.html free funny ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=310 wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/340.html cheap rivotril] [http://climate.msrc.sunysb.edu/1984/messages/298.html but clomid] [http://climate.msrc.sunysb.edu/1984/messages/305.html buy fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=255 buy hgh] [http://climate.msrc.sunysb.edu/1984/messages/315.html cheap lipitor] [http://climate.msrc.sunysb.edu/1984/messages/310.html cheap hoodia] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=15 clonazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=245 cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=66 tenuate online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=53 cheap vicodin] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=77 real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/348.html free sonyericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=27 buy hoodia] [http://climate.msrc.sunysb.edu/1984/messages/352.html buy tramadol] [http://www.bc.edu/apps/bookstore/cards/jun7-226422592864.html nextel ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=54 cheap alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,11 ambien online] = Operation Panik =
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Les informations relative a ce projet sont centralisées dans ce wiki.
= Index =
* [[Matériel Panik]]: matériel utilisé
* [[Logiciel Panik]]: configuration logicielle des systèmes
* [[Tests Panik]]: notes sur les tests effectués
* [[Installation Panik]]: notes relatives a l'installation sur site
* [[Déploiement Panik]]: Mise en production
= Etat d'avancement =
* Environnement défini
* Noyeau compilé
* Josaphat terminé
* Panik terminé
= A faire =
* Investiguer le bug ''ogg123'' (voire [[Logiciel Panik]] -- Faible priorité)
* Mettre la configuration en production
[[Category:Opération Panik]]
Wrt Citoyen
0
1316
1557
1451
2007-06-11T00:26:17Z
CgiA9y
49
wikitext
text/x-wiki
[http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=18 cheap diazepam] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=312 cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=45 nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=285 qwest ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=79 zanaflex online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=247 diazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=305 verizon ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226682379944.html free motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/318.html order lortab] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=62 prozac online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=21 ericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/330.html but ortho] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,19 cheap cyclobenzaprine] [http://climate.msrc.sunysb.edu/1984/messages/295.html cheap celexa] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=253 free ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=49 phentermine] [http://climate.msrc.sunysb.edu/1984/messages/300.html free cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=52 cheap prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,44 free qwest ringtones] [http://climate.msrc.sunysb.edu/1984/messages/296.html cialis online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=297 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=60 nexium online] [http://climate.msrc.sunysb.edu/1984/messages/339.html real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/341.html sagem ringtones] [http://climate.msrc.sunysb.edu/1984/messages/351.html tracfone ringtones] [http://climate.msrc.sunysb.edu/1984/messages/328.html free nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=284 free punk ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226172687200.html mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=295 sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,12 ativan online] [http://climate.msrc.sunysb.edu/1984/messages/309.html but hgh] [http://climate.msrc.sunysb.edu/1984/messages/320.html free midi ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=7 alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=23 cheap flexeril] [http://climate.msrc.sunysb.edu/1984/messages/346.html sony ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=39 motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/359.html vicodin online] [http://www.bc.edu/apps/bookstore/cards/jun7-226062830562.html free tracfone ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=42 buy soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=260 levitra online] [http://climate.msrc.sunysb.edu/1984/messages/322.html free motorola ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=19 cheap didrex] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=84 cheap sildenafil] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=48 pharmacy online online] [http://climate.msrc.sunysb.edu/1984/messages/366.html zoloft online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=257 hydrocodone online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=63 free sony ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=82 cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=306 viagra] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=47 buy paxil] [http://climate.msrc.sunysb.edu/1984/messages/292.html ambien online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=264 buy lortab] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=28 order hydrocodone] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=85 vigrx online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=10 cheap ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=26 hgh online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=63 sildenafil online] [http://climate.msrc.sunysb.edu/1984/messages/358.html buy viagra] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=71 ortho online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=44 nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/316.html lisinopril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,24 free funny ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,46 free sony ericsson ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=307 buy vicodin] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,25 hydrocodone] [http://climate.msrc.sunysb.edu/1984/messages/293.html order ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=38 mono ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,18 clonazepam] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=31 levitra] [http://climate.msrc.sunysb.edu/1984/messages/349.html free sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=49 cialis online] [http://climate.msrc.sunysb.edu/1984/messages/347.html sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,26 cheap levitra] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=313 zanaflex online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=44 phentermine] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=12 celexa online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=69 ultracet online] [http://climate.msrc.sunysb.edu/1984/messages/362.html wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/343.html free sharp ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,36 buy norco] [http://climate.msrc.sunysb.edu/1984/messages/345.html soma online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=61 cheap ultracet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=242 free cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=232 cheap adipex] [http://climate.msrc.sunysb.edu/1984/messages/364.html cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=6 cheap albuterol] [http://climate.msrc.sunysb.edu/1984/messages/350.html cheap tenuate] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=83 cheap ortho] [http://climate.msrc.sunysb.edu/1984/messages/325.html free music ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=288 sagem ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=262 cheap lisinopril] [http://climate.msrc.sunysb.edu/1984/messages/319.html meridia online] [http://climate.msrc.sunysb.edu/1984/messages/335.html cheap propecia] [http://climate.msrc.sunysb.edu/1984/messages/360.html cheap vigrx] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=20 cheap diethylpropion] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=233 cheap albuterol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=40 mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=265 meridia online] [http://climate.msrc.sunysb.edu/1984/messages/307.html free ringtones] [http://climate.msrc.sunysb.edu/1984/messages/354.html cheap ultram] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=61 soma online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=35 cheap lortab] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=292 cheap sildenafil] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,34 free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/317.html cheap lorazepam] [http://climate.msrc.sunysb.edu/1984/messages/308.html free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/368.html diethylpropion online] [http://www.bc.edu/apps/bookstore/cards/jun7-226002359520.html free ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=76 funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/297.html cingular ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-224302380012.html cheap soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=274 nokia ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=55 clonazepam online] [http://climate.msrc.sunysb.edu/1984/messages/367.html zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=64 clomid online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=283 buy prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,53 online valium] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=33 order lisinopril] [http://www.bc.edu/apps/bookstore/cards/jun7-225692379850.html meridia online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=41 buy tramadol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=60 sharp ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=266 free midi ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=252 flexeril online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=55 real ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=240 celexa online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=314 zoloft online] [http://climate.msrc.sunysb.edu/1984/messages/327.html free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/304.html ericsson ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,32 free music ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=41 mtv ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,52 order ultram] [http://climate.msrc.sunysb.edu/1984/messages/356.html buy valium] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,55 viagra online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=58 lorazepam online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=13 cheap cialis] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,38 cheap phentermine] [http://climate.msrc.sunysb.edu/1984/messages/326.html buy nexium] [http://www.bc.edu/apps/bookstore/cards/jun7-226732674842.html samsung ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225822801712.html cheap norco] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=52 meridia online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,48 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=74 buy rivotril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,15 order carisoprodol] [http://climate.msrc.sunysb.edu/1984/messages/294.html carisoprodol online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=246 cyclobenzaprine online] [http://climate.msrc.sunysb.edu/1984/messages/369.html free qwest ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226472592872.html free qwest ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=47 cheap fioricet] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=72 verizon ringtones] [http://climate.msrc.sunysb.edu/1984/messages/337.html punk ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=256 cheap hoodia] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=279 pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=300 tracfone ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=301 tramadol] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=287 cheap rivotril] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=68 tramadol online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,21 didrex online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,22 cheap fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=271 music ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=65 cheap albuterol] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,35 free nokia ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225582064618.html buy viagra] [http://climate.msrc.sunysb.edu/1984/messages/291.html buy alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,59 buy xenical] [http://climate.msrc.sunysb.edu/1984/messages/332.html pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=254 free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/365.html order zanaflex] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=250 free ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=17 cyclobenzaprine online] [http://www.bc.edu/apps/bookstore/cards/jun7-225772801698.html adipex online] [http://www.bc.edu/apps/bookstore/cards/jun7-224662404428.html cheap xanax] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,9 free alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=54 free qwest ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=303 ultram online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=296 sonyericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/342.html free samsung ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=73 cheap lortab] [http://climate.msrc.sunysb.edu/1984/messages/321.html free mono ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=59 free samsung ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=315 zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=69 cheap celexa] [http://www.bc.edu/apps/bookstore/cards/jun7-226122830578.html free funny ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=310 wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/340.html cheap rivotril] [http://climate.msrc.sunysb.edu/1984/messages/298.html but clomid] [http://climate.msrc.sunysb.edu/1984/messages/305.html buy fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=255 buy hgh] [http://climate.msrc.sunysb.edu/1984/messages/315.html cheap lipitor] [http://climate.msrc.sunysb.edu/1984/messages/310.html cheap hoodia] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=15 clonazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=245 cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=66 tenuate online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=53 cheap vicodin] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=77 real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/348.html free sonyericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=27 buy hoodia] [http://climate.msrc.sunysb.edu/1984/messages/352.html buy tramadol] [http://www.bc.edu/apps/bookstore/cards/jun7-226422592864.html nextel ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=54 cheap alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,11 ambien online] = OpenWrt pour RéseauCitoyen =
Ce petit How-To décrit l'installation de [[Wrt Citoyen]] sur un WRT de LinkSys
== Préparation ==
Deux cas se présentent: vous avez encore un WRT avec son firmware d'origine ou vous avez déjà configuré votre WRT sous OpenWrt.
=== Installer OpenWrt ===
L'installation d'OpenWrt sort du cadre de ce How-To et est très bien décrite dans le [http://openwrt.org/userguide.html guide de l'utilisateur].
Les firmwares compilés (et testés!) sont disponibles sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/
** http://10.51.110.172/openwrt/
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
Quelques points à prendre en considération:
* Dans une configuration ReseauCitoyen, vous n'avez sans doute pas besoin de ''dnsmasq'' -- désactivez le!
* Vous allez devoir changer le configuration de IPKG, donc il faut le mettre en lecture/écriture
* Procédez de la même façon si vous devez modifier ''/etc/resolv.conf''
@wrt-bulles:/# killall dnsmasq
@wrt-bulles:/# rm /etc/init.d/S50dnsmasq
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
=== OpenWrt déjà intallé ===
Si vous avez une autre version de AODV déjà installée, désinstallez la!
@wrt-bulles:/# ipkg remove aodv-uu
Configurez ipkg pour utiliser le feed !ReseauCitoyen. Le feed est disponible sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/feeds/stable/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/feeds/stable/
** http://10.51.110.172/openwrt/feeds/stable/
Mon fichier ''/etc/ipkg.conf'' ressemble à ceci:
src bulles http://reseaucitoyen.be/diskless/openwrt/feeds/stable
src openwrt http://openwrt.org/ipkg
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
== Configuration Réseau ==
Installez le paquet ''rc-tools'' et exécutez ''rc-setup-net'' qui va s'assurer que votre WRT est prêt pour !ReseauCitoyen:
@wrt-bulles:/# ipkg install rc-tools
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/rc-tools_0.1.1-1_mipsel.ipk ...
Connecting to reseaucitoyen.be:80
rc-tools_0.1.1-1_mip 100% |*****************************| 2305 00:00 ETA
Done.
Unpacking rc-tools...Done.
Configuring rc-tools...Done.
@wrt-bulles:/# rc-setup-net
Please confirm the hardware setting of your WRT:
LAN (4 port Switch) on vlan0
WAN (Separate port) on vlan1
Wireless on eth1
This should be correct unless you played with admcfg...
You can override this by setting the LAN_IF, WAN_IF, WIFI_IF environment variables.
Do you want to continue? Y
I will now configure your WRT for ReseauCitoyen:
No bridging between any interface
LAN (*): Static Address set to 192.168.1.68
WAN (*): Static Address set to 192.168.2.68
Wireless: Static address set to 10.160.249.87
essid bombolong channel 1
(*) No changes are actually done on the LAN/WAN interfaces
Do you want to continue? Y
Writing config to NVRAM...
Commit changes to NVRAM...
nvram_commit(): start
nvram_commit(): end
All done. Please re-boot your WRT to activate the changes
Et rebootez!
== Installation de ssh ==
S'il s'agit d'une nouvelle installation, c'est le momment d'installer 'ssh'!
@wrt-bulles:/# ipkg install dropbear
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/dropbear_0.44test3_mipsel.ipk ...
...
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
== Installation du protocole de routage ==
Le plus dur est fait! Il ne reste plus qu'a installer un paquet AODV ou OLSR:
* '''aodv-uu''': la version originale
* '''aodv-uu-ipt''': la version patchée qui utilise iptables et permet d'utiliser le WRT en temps que passerelle du réseau local non-aodv vers RéseauCitoyen
* '''olsrd''': OLSR configuré pour RéseauCitoyen
/!\ Il semble que l'ipkg de OpenWrt ne supporte pas la clause ''Conflicts'' des paquets...<br />'''Ne pas installer plusieurs de ces paquets en même temps!'''
Exemple:
root@wrt-bulles:~# ipkg install aodv-uu-ipt
AODV est démarré automatiquement au boot.<br />Pour le démarrer/arreter manuellement:
root@wrt-bulles:~# /etc/init.d/S47aodv-uu {start|stop}
Le fichier de configuration ''/etc/aodv-uu.cfg'' permet de le désactiver ou le configurer.
== Paquet Bonus ==
En bonus, un ficher ''host'' récent est disponible sur le ''feed'':
ipkg install hosts-file
[[Anchor(rapide)]]
= Installation Rapide =
La distribution a été mise a jour...
En attendant une meilleure documentation voici les étapes pour une installation rapide d'un WRT neuf
== Firmware ==
Flasher le firmware à partir de l'interface web
== Paquets ==
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
Mise a jour de /etc/ipkg.conf
src bulles http://192.168.1.2/openwrt/feeds/stable
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
Installez tous les paquets
@wrt-bulles:/# ipkg install dropbear rc-tools rc-www aodv-uu-ipt rc-watchdog hosts-file
Configurez le wrt
<br />Convention: exemple pour le wrt 5:
@wrt-bulles:/# rc-setup -h
Usage: /sbin/rc-setup [options]
Options:
-H|--hostname <hostname> set hostname
-l|--lan <addr> set IP Address on the LAN (switch) (*)
--[no]dhcp Enable/Disable DHCP server on the LAN
-g|--gateway <gateway> set (internet) gateway (lan side)
-w|--wan <addr> set IP Address on the WAN port (*)
-r|--rate {0|1|2|5.5|11} set Wireless rate (0 = Auto)
Special Options: (You should normally not need these)
--lanif <lan iface> override LAN Interface (vlan0/2)
--wanif <wan iface> override WAN Interface (vlan1)
--wifiif <wifi iface> override Wireless Interface (eth1/2)
@wrt-bulles:/# rc-setup -H rcwrt-05 -l 192.168.29.135 --dhcp -w 192.168.30.135 -r 2
'''Rebootez'''
@wrt-bulles:/# reboot
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
Testez l'install
Changez /etc/ipkg.conf en une adresse RC
src bulles http://bulles.bxl.rc/openwrt/feeds/stable
dest root /
dest ram /tmp
Test 5Ghz
0
1335
1558
1546
2007-06-11T02:14:25Z
Pp3R62
51
wikitext
text/x-wiki
[http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=18 cheap diazepam] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=312 cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=45 nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=285 qwest ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=79 zanaflex online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=247 diazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=305 verizon ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226682379944.html free motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/318.html order lortab] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=62 prozac online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=21 ericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/330.html but ortho] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,19 cheap cyclobenzaprine] [http://climate.msrc.sunysb.edu/1984/messages/295.html cheap celexa] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=253 free ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=49 phentermine] [http://climate.msrc.sunysb.edu/1984/messages/300.html free cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=52 cheap prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,44 free qwest ringtones] [http://climate.msrc.sunysb.edu/1984/messages/296.html cialis online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=297 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=60 nexium online] [http://climate.msrc.sunysb.edu/1984/messages/339.html real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/341.html sagem ringtones] [http://climate.msrc.sunysb.edu/1984/messages/351.html tracfone ringtones] [http://climate.msrc.sunysb.edu/1984/messages/328.html free nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=284 free punk ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226172687200.html mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=295 sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,12 ativan online] [http://climate.msrc.sunysb.edu/1984/messages/309.html but hgh] [http://climate.msrc.sunysb.edu/1984/messages/320.html free midi ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=7 alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=23 cheap flexeril] [http://climate.msrc.sunysb.edu/1984/messages/346.html sony ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=39 motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/359.html vicodin online] [http://www.bc.edu/apps/bookstore/cards/jun7-226062830562.html free tracfone ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=42 buy soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=260 levitra online] [http://climate.msrc.sunysb.edu/1984/messages/322.html free motorola ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=19 cheap didrex] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=84 cheap sildenafil] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=48 pharmacy online online] [http://climate.msrc.sunysb.edu/1984/messages/366.html zoloft online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=257 hydrocodone online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=63 free sony ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=82 cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=306 viagra] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=47 buy paxil] [http://climate.msrc.sunysb.edu/1984/messages/292.html ambien online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=264 buy lortab] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=28 order hydrocodone] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=85 vigrx online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=10 cheap ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=26 hgh online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=63 sildenafil online] [http://climate.msrc.sunysb.edu/1984/messages/358.html buy viagra] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=71 ortho online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=44 nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/316.html lisinopril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,24 free funny ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,46 free sony ericsson ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=307 buy vicodin] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,25 hydrocodone] [http://climate.msrc.sunysb.edu/1984/messages/293.html order ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=38 mono ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,18 clonazepam] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=31 levitra] [http://climate.msrc.sunysb.edu/1984/messages/349.html free sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=49 cialis online] [http://climate.msrc.sunysb.edu/1984/messages/347.html sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,26 cheap levitra] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=313 zanaflex online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=44 phentermine] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=12 celexa online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=69 ultracet online] [http://climate.msrc.sunysb.edu/1984/messages/362.html wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/343.html free sharp ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,36 buy norco] [http://climate.msrc.sunysb.edu/1984/messages/345.html soma online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=61 cheap ultracet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=242 free cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=232 cheap adipex] [http://climate.msrc.sunysb.edu/1984/messages/364.html cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=6 cheap albuterol] [http://climate.msrc.sunysb.edu/1984/messages/350.html cheap tenuate] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=83 cheap ortho] [http://climate.msrc.sunysb.edu/1984/messages/325.html free music ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=288 sagem ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=262 cheap lisinopril] [http://climate.msrc.sunysb.edu/1984/messages/319.html meridia online] [http://climate.msrc.sunysb.edu/1984/messages/335.html cheap propecia] [http://climate.msrc.sunysb.edu/1984/messages/360.html cheap vigrx] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=20 cheap diethylpropion] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=233 cheap albuterol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=40 mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=265 meridia online] [http://climate.msrc.sunysb.edu/1984/messages/307.html free ringtones] [http://climate.msrc.sunysb.edu/1984/messages/354.html cheap ultram] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=61 soma online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=35 cheap lortab] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=292 cheap sildenafil] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,34 free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/317.html cheap lorazepam] [http://climate.msrc.sunysb.edu/1984/messages/308.html free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/368.html diethylpropion online] [http://www.bc.edu/apps/bookstore/cards/jun7-226002359520.html free ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=76 funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/297.html cingular ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-224302380012.html cheap soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=274 nokia ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=55 clonazepam online] [http://climate.msrc.sunysb.edu/1984/messages/367.html zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=64 clomid online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=283 buy prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,53 online valium] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=33 order lisinopril] [http://www.bc.edu/apps/bookstore/cards/jun7-225692379850.html meridia online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=41 buy tramadol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=60 sharp ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=266 free midi ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=252 flexeril online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=55 real ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=240 celexa online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=314 zoloft online] [http://climate.msrc.sunysb.edu/1984/messages/327.html free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/304.html ericsson ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,32 free music ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=41 mtv ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,52 order ultram] [http://climate.msrc.sunysb.edu/1984/messages/356.html buy valium] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,55 viagra online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=58 lorazepam online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=13 cheap cialis] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,38 cheap phentermine] [http://climate.msrc.sunysb.edu/1984/messages/326.html buy nexium] [http://www.bc.edu/apps/bookstore/cards/jun7-226732674842.html samsung ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225822801712.html cheap norco] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=52 meridia online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,48 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=74 buy rivotril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,15 order carisoprodol] [http://climate.msrc.sunysb.edu/1984/messages/294.html carisoprodol online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=246 cyclobenzaprine online] [http://climate.msrc.sunysb.edu/1984/messages/369.html free qwest ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226472592872.html free qwest ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=47 cheap fioricet] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=72 verizon ringtones] [http://climate.msrc.sunysb.edu/1984/messages/337.html punk ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=256 cheap hoodia] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=279 pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=300 tracfone ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=301 tramadol] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=287 cheap rivotril] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=68 tramadol online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,21 didrex online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,22 cheap fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=271 music ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=65 cheap albuterol] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,35 free nokia ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225582064618.html buy viagra] [http://climate.msrc.sunysb.edu/1984/messages/291.html buy alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,59 buy xenical] [http://climate.msrc.sunysb.edu/1984/messages/332.html pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=254 free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/365.html order zanaflex] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=250 free ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=17 cyclobenzaprine online] [http://www.bc.edu/apps/bookstore/cards/jun7-225772801698.html adipex online] [http://www.bc.edu/apps/bookstore/cards/jun7-224662404428.html cheap xanax] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,9 free alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=54 free qwest ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=303 ultram online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=296 sonyericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/342.html free samsung ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=73 cheap lortab] [http://climate.msrc.sunysb.edu/1984/messages/321.html free mono ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=59 free samsung ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=315 zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=69 cheap celexa] [http://www.bc.edu/apps/bookstore/cards/jun7-226122830578.html free funny ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=310 wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/340.html cheap rivotril] [http://climate.msrc.sunysb.edu/1984/messages/298.html but clomid] [http://climate.msrc.sunysb.edu/1984/messages/305.html buy fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=255 buy hgh] [http://climate.msrc.sunysb.edu/1984/messages/315.html cheap lipitor] [http://climate.msrc.sunysb.edu/1984/messages/310.html cheap hoodia] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=15 clonazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=245 cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=66 tenuate online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=53 cheap vicodin] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=77 real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/348.html free sonyericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=27 buy hoodia] [http://climate.msrc.sunysb.edu/1984/messages/352.html buy tramadol] [http://www.bc.edu/apps/bookstore/cards/jun7-226422592864.html nextel ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=54 cheap alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,11 ambien online] = test du vendredi 2007-02-09 =
==Conclusions du test==
-le problème était logiciel.
-trois noeuds ont pus associer avec le wrapmikrotik un fois mise a la place de la soekris.
-stephan rapporte que la perte dans le cable entre l antenne et l emetteur est de 4db.
-...
-suite a des tests voip ou le son saccadait cedric a règlé le meme valeur de hacktiming (athctrl -d n ).
-statut: ca marche :)
== '''la marche a suivre est un peu chamboulée: nous n' avons pas pu obtenir les clefs du brusilia ce jeudi.on essayera donc de tout faire demain (foireux a l' avance . mais qui sait).''' ==
== hardware list ==
*wrap mikrotk sr9 pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes
1559
1558
2007-06-11T15:42:35Z
Phil
1
Reverted edit of Pp3R62, changed back to last version by EkiWip
wikitext
text/x-wiki
= test du vendredi 2007-02-09 =
==Conclusions du test==
-le problème était logiciel.
-trois noeuds ont pus associer avec le wrapmikrotik un fois mise a la place de la soekris.
-stephan rapporte que la perte dans le cable entre l antenne et l emetteur est de 4db.
-...
-suite a des tests voip ou le son saccadait cedric a règlé le meme valeur de hacktiming (athctrl -d n ).
-statut: ca marche :)
== '''la marche a suivre est un peu chamboulée: nous n' avons pas pu obtenir les clefs du brusilia ce jeudi.on essayera donc de tout faire demain (foireux a l' avance . mais qui sait).''' ==
== hardware list ==
*wrap mikrotk sr9 pigtail qui marche (testé au préalable par manu et david)
*soekris de rechange
*compactflash de rechange
*un pigtail de rechange
*un laptop
*un flasheur de carte
*un multiprise
== idée de procédure ==
*mettre le wrap qui va bien le jeudi soir
*tester toute la nuit de tout les noeuds qui ont 5Ghz (voir plus bas)
*dormir un peu
*dejeuner chez ivan vers les 9h-9h30
*reflexion conclusion
*...
*si les test de connections ont marché la nuit du jeudi on prepare des compact flash et on y retourne
*si les test avec la mikrotik et le wrap n ont rien donné alors on refait un cable et on prend un pigtail avec.
== personnes qui auraient du 5Ghz ==
*dako: grid 5 ghz a moins de 2km
*stefan: omni 12 dbi, 5 ghz at manu 5.3 km in AP mode, can scan other ap's. http://www.on4sh.be/nodedb/?page=nodes
Wrt Citoyen
0
1316
1560
1557
2007-06-11T15:43:49Z
Phil
1
Reverted edit of CgiA9y, changed back to last version by Phil
wikitext
text/x-wiki
= OpenWrt pour RéseauCitoyen =
Ce petit How-To décrit l'installation de [[Wrt Citoyen]] sur un WRT de LinkSys
== Préparation ==
Deux cas se présentent: vous avez encore un WRT avec son firmware d'origine ou vous avez déjà configuré votre WRT sous OpenWrt.
=== Installer OpenWrt ===
L'installation d'OpenWrt sort du cadre de ce How-To et est très bien décrite dans le [http://openwrt.org/userguide.html guide de l'utilisateur].
Les firmwares compilés (et testés!) sont disponibles sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/
** http://10.51.110.172/openwrt/
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
Quelques points à prendre en considération:
* Dans une configuration ReseauCitoyen, vous n'avez sans doute pas besoin de ''dnsmasq'' -- désactivez le!
* Vous allez devoir changer le configuration de IPKG, donc il faut le mettre en lecture/écriture
* Procédez de la même façon si vous devez modifier ''/etc/resolv.conf''
@wrt-bulles:/# killall dnsmasq
@wrt-bulles:/# rm /etc/init.d/S50dnsmasq
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
=== OpenWrt déjà intallé ===
Si vous avez une autre version de AODV déjà installée, désinstallez la!
@wrt-bulles:/# ipkg remove aodv-uu
Configurez ipkg pour utiliser le feed !ReseauCitoyen. Le feed est disponible sur:
* Internet: http://reseaucitoyen.be/diskless/openwrt/feeds/stable/
* RéseauCitoyen:
** http://bulles.bxl.rc/openwrt/feeds/stable/
** http://10.51.110.172/openwrt/feeds/stable/
Mon fichier ''/etc/ipkg.conf'' ressemble à ceci:
src bulles http://reseaucitoyen.be/diskless/openwrt/feeds/stable
src openwrt http://openwrt.org/ipkg
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
== Configuration Réseau ==
Installez le paquet ''rc-tools'' et exécutez ''rc-setup-net'' qui va s'assurer que votre WRT est prêt pour !ReseauCitoyen:
@wrt-bulles:/# ipkg install rc-tools
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/rc-tools_0.1.1-1_mipsel.ipk ...
Connecting to reseaucitoyen.be:80
rc-tools_0.1.1-1_mip 100% |*****************************| 2305 00:00 ETA
Done.
Unpacking rc-tools...Done.
Configuring rc-tools...Done.
@wrt-bulles:/# rc-setup-net
Please confirm the hardware setting of your WRT:
LAN (4 port Switch) on vlan0
WAN (Separate port) on vlan1
Wireless on eth1
This should be correct unless you played with admcfg...
You can override this by setting the LAN_IF, WAN_IF, WIFI_IF environment variables.
Do you want to continue? Y
I will now configure your WRT for ReseauCitoyen:
No bridging between any interface
LAN (*): Static Address set to 192.168.1.68
WAN (*): Static Address set to 192.168.2.68
Wireless: Static address set to 10.160.249.87
essid bombolong channel 1
(*) No changes are actually done on the LAN/WAN interfaces
Do you want to continue? Y
Writing config to NVRAM...
Commit changes to NVRAM...
nvram_commit(): start
nvram_commit(): end
All done. Please re-boot your WRT to activate the changes
Et rebootez!
== Installation de ssh ==
S'il s'agit d'une nouvelle installation, c'est le momment d'installer 'ssh'!
@wrt-bulles:/# ipkg install dropbear
Downloading http://reseaucitoyen.be/diskless/openwrt/feeds/stable/dropbear_0.44test3_mipsel.ipk ...
...
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
== Installation du protocole de routage ==
Le plus dur est fait! Il ne reste plus qu'a installer un paquet AODV ou OLSR:
* '''aodv-uu''': la version originale
* '''aodv-uu-ipt''': la version patchée qui utilise iptables et permet d'utiliser le WRT en temps que passerelle du réseau local non-aodv vers RéseauCitoyen
* '''olsrd''': OLSR configuré pour RéseauCitoyen
/!\ Il semble que l'ipkg de OpenWrt ne supporte pas la clause ''Conflicts'' des paquets...<br />'''Ne pas installer plusieurs de ces paquets en même temps!'''
Exemple:
root@wrt-bulles:~# ipkg install aodv-uu-ipt
AODV est démarré automatiquement au boot.<br />Pour le démarrer/arreter manuellement:
root@wrt-bulles:~# /etc/init.d/S47aodv-uu {start|stop}
Le fichier de configuration ''/etc/aodv-uu.cfg'' permet de le désactiver ou le configurer.
== Paquet Bonus ==
En bonus, un ficher ''host'' récent est disponible sur le ''feed'':
ipkg install hosts-file
[[Anchor(rapide)]]
= Installation Rapide =
La distribution a été mise a jour...
En attendant une meilleure documentation voici les étapes pour une installation rapide d'un WRT neuf
== Firmware ==
Flasher le firmware à partir de l'interface web
== Paquets ==
Une fois flashé, vous pouvez vous connecter en ''telnet'' sur votre WRT.
@wrt-bulles:/# rm /etc/ipkg.conf
@wrt-bulles:/# cp /rom/etc/ipkg.conf /etc/ipkg.conf
Mise a jour de /etc/ipkg.conf
src bulles http://192.168.1.2/openwrt/feeds/stable
dest root /
dest ram /tmp
Mettez à jour la liste des paquets:
@wrt-bulles:/# ipkg update
Installez tous les paquets
@wrt-bulles:/# ipkg install dropbear rc-tools rc-www aodv-uu-ipt rc-watchdog hosts-file
Configurez le wrt
<br />Convention: exemple pour le wrt 5:
@wrt-bulles:/# rc-setup -h
Usage: /sbin/rc-setup [options]
Options:
-H|--hostname <hostname> set hostname
-l|--lan <addr> set IP Address on the LAN (switch) (*)
--[no]dhcp Enable/Disable DHCP server on the LAN
-g|--gateway <gateway> set (internet) gateway (lan side)
-w|--wan <addr> set IP Address on the WAN port (*)
-r|--rate {0|1|2|5.5|11} set Wireless rate (0 = Auto)
Special Options: (You should normally not need these)
--lanif <lan iface> override LAN Interface (vlan0/2)
--wanif <wan iface> override WAN Interface (vlan1)
--wifiif <wifi iface> override Wireless Interface (eth1/2)
@wrt-bulles:/# rc-setup -H rcwrt-05 -l 192.168.29.135 --dhcp -w 192.168.30.135 -r 2
'''Rebootez'''
@wrt-bulles:/# reboot
'''Vérifiez''' que vous pouvez vous connecter au WRT avec ''ssh'', et désactivez alors ''telnet'':
root@wrt-bulles:~# killall telnetd
root@wrt-bulles:~# rm /etc/init.d/S50telnet
Testez l'install
Changez /etc/ipkg.conf en une adresse RC
src bulles http://bulles.bxl.rc/openwrt/feeds/stable
dest root /
dest ram /tmp
Opération Panik
0
1301
1561
1556
2007-06-11T15:44:05Z
Phil
1
Reverted edit of VuiRku, changed back to last version by Phil
wikitext
text/x-wiki
= Operation Panik =
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Les informations relative a ce projet sont centralisées dans ce wiki.
= Index =
* [[Matériel Panik]]: matériel utilisé
* [[Logiciel Panik]]: configuration logicielle des systèmes
* [[Tests Panik]]: notes sur les tests effectués
* [[Installation Panik]]: notes relatives a l'installation sur site
* [[Déploiement Panik]]: Mise en production
= Etat d'avancement =
* Environnement défini
* Noyeau compilé
* Josaphat terminé
* Panik terminé
= A faire =
* Investiguer le bug ''ogg123'' (voire [[Logiciel Panik]] -- Faible priorité)
* Mettre la configuration en production
[[Category:Opération Panik]]
Bubble:Community Portal
4
1278
1562
1553
2007-06-11T15:44:50Z
Phil
1
Reverted edit of Nu8Qmc, changed back to last version by Phil
wikitext
text/x-wiki
= Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
= Technicalities =
This wiki is available at the same time on Internet and [http://www.reseaucitoyen.be RéseauCitoyen]. Historically it was hosted on my home gateway, but the hardware is too old to be able to run MediaWiki happily.
<br />So I eventually decided to move the wiki to the datacenter and use a reverse proxy for the [http://www.reseaucitoyen.be RéseauCitoyen] side. This implies that we need to detect proxies, and be able to link outside the wiki, without specifying the name of the server. This requires a couple of changes in the ''LocalSettings.php'' configuration file:
# Protocols -- we need this shortcut to link outside the wiki
# (Same behaviour as MoinMoin)
$wgUrlProtocols .= '|http:';
# Take care of the reverse proxy
$wgUseSquid = false;
1567
1562
2007-06-11T16:14:11Z
Phil
1
Info about registration
wikitext
text/x-wiki
= Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
Due to repeated SPAMS, user registration is only possible by Sysops. If you would like to contribute, let me know...
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
Suite au multiples SPAMS, la création des utilisateurs n'est possible que via un sysop. Si vous désirez contribuer, faites le moi savoir...
= Technicalities =
This wiki is available at the same time on Internet and [http://www.reseaucitoyen.be RéseauCitoyen]. Historically it was hosted on my home gateway, but the hardware is too old to be able to run MediaWiki happily.
<br />So I eventually decided to move the wiki to the datacenter and use a reverse proxy for the [http://www.reseaucitoyen.be RéseauCitoyen] side. This implies that we need to detect proxies, and be able to link outside the wiki, without specifying the name of the server. This requires a couple of changes in the ''LocalSettings.php'' configuration file:
# Protocols -- we need this shortcut to link outside the wiki
# (Same behaviour as MoinMoin)
$wgUrlProtocols .= '|http:';
# Take care of the reverse proxy
$wgUseSquid = false;
1605
1567
2007-06-28T23:24:51Z
FtgFkw
45
wikitext
text/x-wiki
[http://people.msoe.edu/~millerni/forums.php?show=topic&id=114&forum=13 meridia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=157&forum=13 wwe ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=128&forum=13 phentermine online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=158&forum=13 cheap xanax] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=106&forum=13 cheap hydrocodone] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=160&forum=13 zanaflex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=102&forum=13 free ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=97&forum=13 didrex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=135&forum=13 free real ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=100&forum=13 buy fioricet] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=96&forum=13 buy diazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=136&forum=13 rivotril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=87&forum=13 ativan online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=144&forum=13 sonyericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=137&forum=13 sagem ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=152&forum=13 verizon ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=139&forum=13 free sharp ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=125&forum=13 ortho online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=156&forum=13 wellbutrin online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=151&forum=13 valium online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=121&forum=13 nexium online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=147&forum=13 tracfone ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=142&forum=13 sony ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=94&forum=13 cool ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=161&forum=13 but zoloft] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=117&forum=13 motorola ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=133&forum=13 qwest ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=138&forum=13 free samsung ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=122&forum=13 free nextel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=89&forum=13 cheap celexa] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=99&forum=13 free ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=115&forum=13 midi ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=146&forum=13 tenuate online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=109&forum=13 levitra online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=82&forum=13 cheap adipex] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=132&forum=13 free punk ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=130&forum=13 cheap propecia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=83&forum=13 cheap albuterol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=85&forum=13 alprazolam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=153&forum=13 viagra online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=148&forum=13 cheap tramadol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=143&forum=13 free sony ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=86&forum=13 ambien online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=103&forum=13 funny ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=104&forum=13 cheap hgh] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=129&forum=13 free polyphonic ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=90&forum=13 cialis online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=123&forum=13 free nokia ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=101&forum=13 cheap flexeril] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=124&forum=13 online norco] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=149&forum=13 cheap ultracet] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=88&forum=13 cheap carisoprodol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=108&forum=13 kyocera ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=93&forum=13 clonazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=127&forum=13 cheap pharmacy online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=95&forum=13 cheap cyclobenzaprine] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=150&forum=13 cheap ultram] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=111&forum=13 cheap lisinopril] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=159&forum=13 xenical online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=162&forum=13 cheap zyban] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=116&forum=13 mono ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=112&forum=13 buy lorazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=145&forum=13 free sprint ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=110&forum=13 cheap lipitor] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=131&forum=13 prozac online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=120&forum=13 free music ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=105&forum=13 cheap hoodia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=155&forum=13 vigrx] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=98&forum=13 cheap diethylpropion] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=113&forum=13 but lortab] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=154&forum=13 cheap vicodin] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=119&forum=13 mtv ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=84&forum=13 alltel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=141&forum=13 soma online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=107&forum=13 jazz ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=140&forum=13 sildenafil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=126&forum=13 paxil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=118&forum=13 free mp3 ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=92&forum=13 clomid online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=91&forum=13 cingular ringtones] = Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
Due to repeated SPAMS, user registration is only possible by Sysops. If you would like to contribute, let me know...
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
Suite au multiples SPAMS, la création des utilisateurs n'est possible que via un sysop. Si vous désirez contribuer, faites le moi savoir...
= Technicalities =
This wiki is available at the same time on Internet and [http://www.reseaucitoyen.be RéseauCitoyen]. Historically it was hosted on my home gateway, but the hardware is too old to be able to run MediaWiki happily.
<br />So I eventually decided to move the wiki to the datacenter and use a reverse proxy for the [http://www.reseaucitoyen.be RéseauCitoyen] side. This implies that we need to detect proxies, and be able to link outside the wiki, without specifying the name of the server. This requires a couple of changes in the ''LocalSettings.php'' configuration file:
# Protocols -- we need this shortcut to link outside the wiki
# (Same behaviour as MoinMoin)
$wgUrlProtocols .= '|http:';
# Take care of the reverse proxy
$wgUseSquid = false;
MeshCube
0
1327
1563
1552
2007-06-11T15:44:59Z
Phil
1
Reverted edit of WlnGhi, changed back to last version by Phil
wikitext
text/x-wiki
= Configuration Basique d'une Mescube pour ReseauCitoyen =
Document sans ambition -- juste un brain-dump après une configuration.
<br />Le but n'est pas de réaliser une distribution complète, mais de configurer rapidement un cube pour RC.
= Installation de base =
Le cube est installé avec [http://meshcube.org/meshwiki/NyLon NyLon]
Pour reflasher le cube, on utilise la procédure [http://meshcube.org/meshwiki/InstallImage InstallImage]
/!\ Le reflachage implique la perte totale de la configuration du cube
== Script d'ugrade ==
Si le cube tourne encore l'ancienne distribution, il faut tout d'abord récupérer le script ''install-image'':
wget http://meshcube.org/nylon/utils/install-image
/!\ La distribution originale contient elle aussi un script ''install-image'' qui ne fait pas la même chose.
== re-flashage ==
On installe Nylon 0.8 pre2
install-image -s http://bulles.bxl.rc/mtx/images
ou
install-image -s http://reseaucitoyen.be/diskless/mtx/images
Si vous utilisez un serveur local, vous devez copier ''filesystem.img.gz'' et ''kernel.img.gz''
Le flashage prend ensuite une dizaine de minutes, surtout '''ne pas éteindre le cube'''!
On peut ensuite accéder le cube, il prend une adresse DHCP sur le port ethernet, et est de toutes façons accessible sur 192.168.0.250 en ssh, sans mot de passe root.
= Configuration =
Le cube est configuré par défaut en mode AP sur la première interface wireless et en mode Mesh sur la seconde.
Voici quelques opérations a effectuer pour le convertir en noeud RC de base
== Mot de passe ==
Mettez un mot de passe pour root!
== HostName ==
vi /etc/hostname
== Firewall ==
Shorewall est configuré pour l'environnement [http://meshcube.org Meschube].
<br />Pour ne pas se prendre la tête, on le désinstallera...
ipkg remove shorewall
Alternativement, reconfigurez shorewall, mais la config de base ne fonctionnera pas en mode !ReseauCitoyen!
== Reseau ==
On va ré-assigner la première (et seule) interface wireless au réseau RC:
/etc/network/interface:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Ethernet
auto eth0
iface eth0 inet dhcp
# wlan interface for mesh
auto wlan0
iface wlan0 inet static
address 10.10.223.73
netmask 255.0.0.0
broadcast 10.255.255.255
wireless_mode ad-hoc
wireless_essid bombolong
wireless_channel 1
Adaptez éventuellment ''eth0''
== Configuration du Mesh ==
Il faut changer la configuration initiale du mesh (répertoire /etc/nylon)
=== hostap.conf ===
Parametres par défaut, si ce n'est
MESH_BASIC_RATES="1"
Limite le ''rate'' à 2Mb/s
=== interfaces.conf ===
#
# high level interfaces definition for scripts
#
#
# which physical interfaces do we have
# default: "eth0 wlan0 wlan1"
#
INTERFACES="eth0 wlan0"
#
# interface serving the clients
# default wlan0
#
WLANIF_CLIENT="xxx"
#
# interface for the mesh
# default: wlan1
#
WLANIF_MESH="wlan0"
=== route.list ===
Enlever les routes par défaut
== IPKG ==
Ajouter le feed dans /etc/ipkg.cong
src bulles http://bulles.bxl.rc/mtx/ipk
Retirer le lien vers le feed original dans ''/etc/ipkg/nylon-feed.conf''
== OLSR ==
Installer olsrd-libs
ipkg update
ipkg install olsrd-libs
La configuration installée basée sur le NLQ et ne devrait pas être changée.
= C'est tout! =
Rebootez le cube, tout est en ordre...
Help:Contents
12
1320
1564
1550
2007-06-11T15:45:07Z
Phil
1
Reverted edit of TqzRra, changed back to last version by Phil
wikitext
text/x-wiki
= Help =
* [[MetaWikiPedia:Help:Contents|MediaWiki User's Guide]]
* [[MetaWikiPedia:Help:Wiki markup examples|Help:Wiki markup examples]]
= Aide =
* [[MetaWikiPedia:Aide:Manuel de MediaWiki|Aide:Manuel de MediaWiki]]
* [[MetaWikiPedia:Aide:Syntaxe wiki|Aide:Syntaxe wiki]]
Category:Opération Panik
14
1302
1565
1549
2007-06-11T15:45:14Z
Phil
1
Reverted edit of FtrGdy, changed back to last version by Phil
wikitext
text/x-wiki
[[Opération Panik]] est un petit projet qui a pour but de tester un streaming audio entre 2 noeuds [http://reseaucitoyen.be ReseauCitoyen].
Gestion Amalia
0
1336
1566
1547
2007-06-11T15:45:23Z
Phil
1
Reverted edit of On0Xgf, changed back to last version by YvlRne
wikitext
text/x-wiki
= date 2006-02-09 - Configuration actuelle =
===wrt omni2.4ghz===
* distribution
Linux Amalia 2.4.30 #1 So M� 5 15:51:52 CET 2006 mips unknown
* ip
eth1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:12
inet addr:10.196.239.18 Bcast:10.255.255.255 Mask:255.0.0.0
vlan0 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
inet addr:192.168.123.88 Bcast:192.168.123.255 Mask:255.255.255.0
vlan1 Link encap:Ethernet HWaddr 00:14:BF:C4:EF:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
===soekris patch5ghz===
* distribution
update: mnt c est une openwrt kamikaze :) et ca marche par contre il semblerait qu il y ai un faut contact ou que l ufl est mal connecté a tester.
old: Linux amalia5g 2.6.17-486-voyage #1 PREEMPT Fri Jan 26 10:52:48 GMT 2007 i486 GNU/Linux
* ip
amalia5g:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:D5:80:00:49
inet addr:192.168.123.89 Bcast:192.168.123.255 Mask:255.255.255.0
ath0 et pour l instant 5.5.5.3 en attendant une attribution des ranges plus structurée.
Main Page
0
1
1573
1535
2007-06-25T05:10:18Z
Dako
4
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[Test Divers]]: some test and their results
* [[RcTools]]
* [[Kamikaze]] configurer kamikaze pour un wrap
1601
1573
2007-06-26T14:00:09Z
Dako
4
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[Test Divers]]: some test and their results
* [[RcTools]]
* [[Kamikaze]] configurer kamikaze pour un wrap
* [[Asterisk]] pbx iax et autres
1606
1601
2007-07-02T13:55:58Z
Dako
4
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[Test Divers]]: some test and their results
* [[RcTools]]
* [[Kamikaze]] configurer kamikaze pour un wrap
* [[Asterisk]] pbx iax et autres
* [[RcNg]]
Kamikaze
0
1350
1574
2007-06-25T05:30:20Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
telnet 192.168.1.1
1575
1574
2007-06-25T05:37:47Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
1576
1575
2007-06-25T05:41:15Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
1577
1576
2007-06-25T05:51:16Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
1578
1577
2007-06-25T05:52:37Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/S50madwifi
1579
1578
2007-06-25T05:54:13Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
1580
1579
2007-06-25T06:03:47Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
1581
1580
2007-06-25T06:04:54Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
1582
1581
2007-06-25T06:05:49Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
1583
1582
2007-06-25T06:11:17Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
1584
1583
2007-06-25T06:15:12Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
1585
1584
2007-06-25T06:17:35Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
et quelques paquet qui serviront
#ipkg install olsrd
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1586
1585
2007-06-25T06:18:49Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=olsr
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
olsr
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1587
1586
2007-06-25T06:28:10Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
les fichiers de config se trouvent dans /etc/config/
on peut également les manipulr avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
olsr
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1588
1587
2007-06-25T06:57:25Z
Dako
4
wikitext
text/x-wiki
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
olsr
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1589
1588
2007-06-25T06:59:08Z
Dako
4
wikitext
text/x-wiki
=installer openwrt kamikaze=
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
=configurer=
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
=application=
olsr
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1590
1589
2007-06-25T07:01:04Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze===
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
==configurer le wireless==
=avec une atheros=
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
===application===
==olsr==
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1591
1590
2007-06-25T07:01:33Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze===
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
==configurer le wireless==
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
===application===
==olsr==
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1592
1591
2007-06-25T07:02:01Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze===
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
==configurer le wireless==
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
===application===
=olsr=
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1593
1592
2007-06-25T07:02:17Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze===
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
==configurer le wireless==
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1594
1593
2007-06-25T07:03:16Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze===
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1595
1594
2007-06-25T07:04:56Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze===
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
1596
1595
2007-06-25T09:24:47Z
Dako
4
/* application */
wikitext
text/x-wiki
===installer openwrt kamikaze===
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
1597
1596
2007-06-25T09:31:17Z
Dako
4
/* configurer */
wikitext
text/x-wiki
===installer openwrt kamikaze===
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
1598
1597
2007-06-25T09:38:23Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze pour x86===
(un wrap dans ce cas-ci
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
1599
1598
2007-06-25T09:38:42Z
Dako
4
/* installer openwrt kamikaze pour x86 */
wikitext
text/x-wiki
===installer openwrt kamikaze pour x86===
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
configurer le reseau pour avoir le net. (afin d installer facilement quelque paquets indispensables.
j hesite a dévelloper
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
1600
1599
2007-06-25T09:40:55Z
Dako
4
/* configurer */
wikitext
text/x-wiki
===installer openwrt kamikaze pour x86===
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
Asterisk
0
1351
1602
2007-06-26T14:01:56Z
Dako
4
wikitext
text/x-wiki
petite réflexion .
je passe du temps a apprendre asterisk
ne serait il as judicieux de travailler avec nuprojet plus beta mais plus dynamique comme callweaver par exemple.
[[DialPLanRc]]
1603
1602
2007-06-26T14:04:55Z
Dako
4
wikitext
text/x-wiki
====petite réflexion===
je passe du temps a apprendre asterisk
ne serait il as judicieux de travailler avec nuprojet plus beta mais plus dynamique comme callweaver par exemple.
http://callweaver.org/blog
[[DialPLanRc]]
DialPLanRc
0
1352
1604
2007-06-27T09:07:07Z
Dako
4
wikitext
text/x-wiki
va falloir faire des règles. he oui encore.
deja choisir un une extension globale pour pouvoir appeler le rc du net ou autres.
ensuite fixer des range de numero pour l' iax propre au rc
genre
extensions globale 518
petv: 01
rmolen: 02
ministere 03
sven 04
cheypas 05
RcNg
0
1353
1607
2007-07-02T14:00:29Z
Dako
4
wikitext
text/x-wiki
===Todo===
* olsr.conf generique
* repositories avec des paquets precompilés des versions a jour d olsr voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze
1608
1607
2007-07-02T14:01:40Z
Dako
4
/* Todo */
wikitext
text/x-wiki
===Todo===
* olsr.conf generique
* repositories avec des paquets precompilés des versions a jour d olsr voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
1609
1608
2007-07-03T11:07:06Z
Dako
4
wikitext
text/x-wiki
===Todo===
* [[olsr.conf]] generique
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
Olsrd
0
1354
1610
2007-07-03T11:08:14Z
Dako
4
wikitext
text/x-wiki
=olsr=
===versions===
===portage===
1611
1610
2007-07-03T11:11:43Z
Dako
4
wikitext
text/x-wiki
=olsr=
===versions===
===portage===
utilisation du binaire olsrd compilé pour une debian i386
test de compatibilité:
petv:~# ldd oknoolsrd
libdl.so.2 => /lib/libdl.so.2 (0x4001e000)
libc.so.6 => /lib/libc.so.6 (0x40022000)
/lib/ld-linux.so.2 (0x40000000)
petv:~# ldd /usr/sbin/olsrd
libdl.so.2 => /lib/libdl.so.2 (0x4001e000)
libc.so.6 => /lib/libc.so.6 (0x40022000)
/lib/ld-linux.so.2 (0x40000000)
Olsr.conf
0
1355
1612
2007-07-03T11:42:11Z
Dako
4
wikitext
text/x-wiki
un petit tableau pour expliquer les différents paramètres
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "Net" "0.0.0.0 255.255.255.255"
}
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 200.0
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
Olsr.conf
0
1355
1613
1612
2007-07-03T11:46:24Z
Dako
4
wikitext
text/x-wiki
un petit tableau pour expliquer les différents paramètres
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "Net" "0.0.0.0 255.255.255.255"
}
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 200.0
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1614
1613
2007-07-03T12:56:07Z
Dako
4
wikitext
text/x-wiki
==un petit tableau pour expliquer les différents paramètres==
"le fichiers olsrd.conf d une freifunk"
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
"un fichiers de config d un olsr compilé a partir de source de openmesh"
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1615
1614
2007-07-03T13:54:40Z
Dako
4
wikitext
text/x-wiki
===un petit tableau pour expliquer les différents paramètres===
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
Hna4
{
# @@HNA_IP@@ @@HNA_MASK@@
# 0.0.0.0 0.0.0.0
}
LoadPlugin "olsrd_dyn_gw.so.0.4"
{
}
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "Host" "127.0.0.1"
PlParam "Net" "192.168.1.0 255.255.255.0"
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1616
1615
2007-07-03T13:57:20Z
Dako
4
wikitext
text/x-wiki
===un petit tableau pour expliquer les différents paramètres===
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1617
1616
2007-07-03T14:29:04Z
Dako
4
wikitext
text/x-wiki
===un petit tableau pour expliquer les différents paramètres===
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| class="wikitable"
|
|pollingrate
|TcRedundancy
|MprCoverage
|LinkQualityFishEye
|LinkQualityWinSize
|LinkQualityDijkstraLimit
|-
|
|bas taux de vote
|?
|?
|
|
|
|-
|valeurs ideale
|
|
|
|
|
|
|}
1618
1617
2007-07-03T14:30:38Z
Dako
4
wikitext
text/x-wiki
===un petit tableau pour expliquer les différents paramètres===
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| class="wikitable"
|X
|pollingrate
|TcRedundancy
|MprCoverage
|LinkQualityFishEye
|LinkQualityWinSize
|LinkQualityDijkstraLimit
|-
|Intitulé
|taux de vote
|?
|?
|
|
|
|-
|valeurs idéale
|
|
|
|
|
|
|}
1619
1618
2007-07-03T14:31:19Z
Dako
4
wikitext
text/x-wiki
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| class="wikitable"
|X
|pollingrate
|TcRedundancy
|MprCoverage
|LinkQualityFishEye
|LinkQualityWinSize
|LinkQualityDijkstraLimit
|-
|Intitulé
|taux de vote
|?
|?
|
|
|
|-
|valeurs idéale
|
|
|
|
|
|
|}
1620
1619
2007-07-03T14:32:39Z
Dako
4
wikitext
text/x-wiki
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| class="wikitable"
|X
!pollingrate
!TcRedundancy
!MprCoverage
!LinkQualityFishEye
!LinkQualityWinSize
!LinkQualityDijkstraLimit
|-
!Intitulé
|taux de vote
|?
|?
|
|
|
|-
!valeurs idéale
|
|
|
|
|
|
|}
1621
1620
2007-07-03T14:32:42Z
Phil
1
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|X
!pollingrate
!TcRedundancy
!MprCoverage
!LinkQualityFishEye
!LinkQualityWinSize
!LinkQualityDijkstraLimit
|-
!Intitulé
|taux de vote
|?
|?
|
|
|
|-
!valeurs idéale
|
|
|
|
|
|
|}
1622
1621
2007-07-03T14:33:51Z
Dako
4
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|X
!pollingrate
!TcRedundancy
!MprCoverage
!LinkQualityFishEye
!LinkQualityWinSize
!LinkQualityDijkstraLimit
|-
!Intitulé
|taux de vote
|?
|?
|
|
|
|-
!valeurs idéale
|
|
|
|
|
|
|-
!valeurs olsr5.0
|
|
|
|
|
|
|-
!valeurs freifunk
|
|
|
|
|
|
|}
1623
1622
2007-07-03T14:35:24Z
Dako
4
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
!pollingrate
!TcRedundancy
!MprCoverage
!LinkQualityFishEye
!LinkQualityWinSize
!LinkQualityDijkstraLimit
|-
!Intitulé en francais
|taux de vote
|?
|?
|
|
|
|-
!valeurs idéale
|
|
|
|
|
|
|-
!valeurs olsr5.0
|
|
|
|
|
|
|-
!valeurs freifunk
|
|
|
|
|
|
|}
1624
1623
2007-07-03T14:38:03Z
Dako
4
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
!pollingrate
!TcRedundancy
!MprCoverage
!LinkQualityFishEye
!LinkQualityWinSize
!LinkQualityDijkstraLimit
!LinkQualityLevel
!UseHysteresis
|-
!Intitulé en francais
|taux de vote
|?
|?
|
|
|
|
|
|-
!valeurs idéale
|
|
|
|
|
|
|
|
|-
!valeurs olsr5.0
|
|
|
|
|
|
|
|
|-
!valeurs freifunk
|
|
|
|
|
|
|
|
|}
1625
1624
2007-07-03T14:44:24Z
Dako
4
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
|
|
|
|-
!pollingrate
|
|
|
|-
!TcRedundancy
|
|
|
|-
!MprCoverage
|
|
|
|-
!LinkQualityFishEye
|
|
|
|-
!LinkQualityWinSize
|
|
|
|-
!LinkQualityDijkstraLimit
|
|
|
|-
!LinkQualityLevel
|
|
|
|-
!UseHysteresis
|
|
|
|}
1626
1625
2007-07-03T14:45:33Z
Dako
4
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|
|
|
|-
!TcRedundancy
|
|
|
|-
!MprCoverage
|
|
|
|-
!LinkQualityFishEye
|
|
|
|-
!LinkQualityWinSize
|
|
|
|-
!LinkQualityDijkstraLimit
|
|
|
|-
!LinkQualityLevel
|
|
|
|-
!UseHysteresis
|
|
|
|}
1627
1626
2007-07-03T14:46:21Z
Dako
4
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|
|
|
|-
!TcRedundancy
|
|
|
|-
!MprCoverage
|
|
|
|-
!LinkQualityFishEye
|
|
|
|-
!LinkQualityWinSize
|
|
|
|-
!LinkQualityDijkstraLimit
|
|
|
|-
!LinkQualityLevel
|
|
|
|-
!UseHysteresis
|
|
|
|}
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1628
1627
2007-07-03T15:10:19Z
Dako
4
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1636
1628
2007-07-05T12:21:40Z
Dako
4
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1641
1636
2007-07-05T13:10:59Z
Dako
4
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
LinkQualityLevel 2
UseHysteresis no
AllowNoInt yes
Interface "eth1"
{
}
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1642
1641
2007-07-09T04:58:20Z
Dako
4
/* minimal */
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
LinkQualityFishEye 1
ClearScreen yes
LinkQualityDijkstraLimit 3 5.0
IpVersion 4
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
UseHysteresis no
AllowNoInt yes
Interface "eth1"
{
}
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.5
TcRedundancy 2
MprCoverage 7
RtTable 254
LQThreshold 1.25
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 9.0
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "name" "rtt"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "Accept" "127.0.0.1"
}
Hna4
{
}
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
Interface "br0"
{
HelloInterval 6.0
HelloValidityTime 108.0
TcInterval 4.0
TcValidityTime 324.0
MidInterval 18.0
MidValidityTime 324.0
HnaInterval 18.0
HnaValidityTime 108.0
}
# Add your addons (e.g. plugins) to olsrd.conf here,
# addons for interfaces in /etc/local.olsrd.conf.eth1
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1643
1642
2007-07-09T04:58:55Z
Dako
4
/* le fichiers olsrd.conf d une freifunk */
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
LinkQualityFishEye 1
ClearScreen yes
LinkQualityDijkstraLimit 3 5.0
IpVersion 4
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
UseHysteresis no
AllowNoInt yes
Interface "eth1"
{
}
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1644
1643
2007-07-09T05:04:44Z
Dako
4
/* le fichiers olsrd.conf d une freifunk */
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
LinkQualityFishEye 1
ClearScreen yes
LinkQualityDijkstraLimit 3 5.0
IpVersion 4
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
UseHysteresis no
AllowNoInt yes
Interface "eth1"
{
}
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1645
1644
2007-07-09T07:48:40Z
Dako
4
/* minimal */
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
Interface "eth1"
{
}
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1646
1645
2007-07-09T07:48:56Z
Dako
4
/* minimal */
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====ideal====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1647
1646
2007-07-09T07:54:31Z
Dako
4
wikitext
text/x-wiki
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====olsr.conf du test olsr de 2003====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1648
1647
2007-07-09T07:56:42Z
Dako
4
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
=====LinkQualityFishEye=====
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====olsr.conf du test olsr de 2003====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1649
1648
2007-07-09T08:01:54Z
Dako
4
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====olsr.conf du test olsr de 2003====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1650
1649
2007-07-09T08:05:09Z
Dako
4
/* TcRedundancy */
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====olsr.conf du test olsr de 2003====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1651
1650
2007-07-09T08:22:29Z
Dako
4
/* TcRedundancy */
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires ; disponible dans RFC3626...
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====olsr.conf du test olsr de 2003====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1652
1651
2007-07-09T08:23:12Z
Dako
4
/* TcRedundancy */
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires ; disponible dans RFC3626...
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====olsr.conf du test olsr de 2003====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1653
1652
2007-07-09T08:24:41Z
Dako
4
/* TcRedundancy */
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en choississant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====olsr.conf du test olsr de 2003====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1654
1653
2007-07-09T08:25:21Z
Dako
4
/* TcRedundancy */
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====minimal====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====olsr.conf du test olsr de 2003====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
Bubble:Community Portal
4
1278
1629
1605
2007-07-04T01:29:00Z
FtgFkw
45
wikitext
text/x-wiki
[http://people.msoe.edu/~millerni/forums.php?show=topic&id=96&forum=13 buy diazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=148&forum=13 cheap tramadol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=156&forum=13 cheap wellbutrin] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=107&forum=13 jazz ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a00 cheap rivotril] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=119&forum=13 mtv ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=110&forum=13 lipitor online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=89&forum=13 cheap celexa] [http://wc1.worldcrossing.com/WebX/.1de609e0 cheap ativan] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=123&forum=13 nokia ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f9 norco online] [http://wc1.worldcrossing.com/WebX/.1de60a18 motorola ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a2c cheap ultram] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=150&forum=13 ultram online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=124&forum=13 norco] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=116&forum=13 mono ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a0e celexa online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=97&forum=13 buy didrex] [http://wc1.worldcrossing.com/WebX/.1de609fa online pharmacy] [http://wc1.worldcrossing.com/WebX/.1de60a24 cheap propecia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=128&forum=13 cheap phentermine] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=153&forum=13 buy viagra] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=154&forum=13 vicodin online] [http://wc1.worldcrossing.com/WebX/.1de60a27 but sildenafil] [http://wc1.worldcrossing.com/WebX/.1de60a1f lisinopril online] [http://wc1.worldcrossing.com/WebX/.1de60a26 free sharp ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a16 levitra] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=103&forum=13 funny ringtones] [http://wc1.worldcrossing.com/WebX/.1de609ee but hydrocodone] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=151&forum=13 valium] [http://wc1.worldcrossing.com/WebX/.1de609e5 free cool ringtones] [http://wc1.worldcrossing.com/WebX/.1de609e4 clonazepam online] [http://wc1.worldcrossing.com/WebX/.1de609e6 cyclobenzaprine online] [http://wc1.worldcrossing.com/WebX/.1de60a35 verizon ringtones] [http://wc1.worldcrossing.com/WebX/.1de609ec buy hgh] [http://wc1.worldcrossing.com/WebX/.1de609df ambien online] [http://wc1.worldcrossing.com/WebX/.1de60a03 sony ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a0f cialis online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=91&forum=13 free cingular ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=90&forum=13 cialis online] [http://wc1.worldcrossing.com/WebX/.1de60a33 cheap prozac] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=133&forum=13 free qwest ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a10 didrex online] [http://wc1.worldcrossing.com/WebX/.1de609fd free punk ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a14 free jazz ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=102&forum=13 free ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a2b but ultracet] [http://wc1.worldcrossing.com/WebX/.1de60a1e flexeril online] [http://wc1.worldcrossing.com/WebX/.1de609f8 nokia ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=87&forum=13 ativan online] [http://wc1.worldcrossing.com/WebX/.1de60a09 cheap viagra] [http://wc1.worldcrossing.com/WebX/.1de609f3 free midi ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=142&forum=13 free sony ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=135&forum=13 real ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=82&forum=13 cheap adipex] [http://wc1.worldcrossing.com/WebX/.1de609eb funny ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=132&forum=13 free punk ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=146&forum=13 cheap tenuate] [http://wc1.worldcrossing.com/WebX/.1de609f2 meridia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=108&forum=13 kyocera ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a05 sprint ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=114&forum=13 online meridia] [http://wc1.worldcrossing.com/WebX/.1de60a06 tenuate online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=92&forum=13 clomid online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=86&forum=13 ambien online] [http://wc1.worldcrossing.com/WebX/.1de60a04 sonyericsson ringtones] [http://wc1.worldcrossing.com/WebX/.1de609e3 clomid online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=120&forum=13 free music ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=99&forum=13 free ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=109&forum=13 cheap levitra] [http://wc1.worldcrossing.com/WebX/.1de60a0d free wwe ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a15 free kyocera ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a20 cheap nexium] [http://wc1.worldcrossing.com/WebX/.1de60a19 mp3 ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=104&forum=13 hgh online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=158&forum=13 xanax online] [http://wc1.worldcrossing.com/WebX/.1de60a01 sagem ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a30 cheap xenical] [http://wc1.worldcrossing.com/WebX/.1de609de but alprazolam] [http://wc1.worldcrossing.com/WebX/.1de60a1b music ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a31 zanaflex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=152&forum=13 verizon ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f7 nextel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=147&forum=13 free tracfone ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a11 buy diethylpropion] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=83&forum=13 cheap albuterol] [http://wc1.worldcrossing.com/WebX/.1de60a29 buy tramadol] [http://wc1.worldcrossing.com/WebX/.1de60a25 free samsung ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=118&forum=13 free mp3 ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=157&forum=13 wwe ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a28 soma online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=139&forum=13 free sharp ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=111&forum=13 lisinopril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=126&forum=13 paxil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=117&forum=13 motorola ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=138&forum=13 free samsung ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=155&forum=13 vigrx] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=140&forum=13 cheap sildenafil] [http://wc1.worldcrossing.com/WebX/.1de60a21 paxil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=160&forum=13 cheap zanaflex] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=136&forum=13 cheap rivotril] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=98&forum=13 cheap diethylpropion] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=145&forum=13 free sprint ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=129&forum=13 free polyphonic ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=137&forum=13 sagem ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=121&forum=13 cheap nexium] [http://wc1.worldcrossing.com/WebX/.1de60a1d free cingular ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=95&forum=13 cheap cyclobenzaprine] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=127&forum=13 cheap pharmacy online] [http://wc1.worldcrossing.com/WebX/.1de609dd alltel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=144&forum=13 free sonyericsson ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a34 free sony ericsson ringtones] [http://wc1.worldcrossing.com/WebX/.1de609e7 cheap diazepam] [http://wc1.worldcrossing.com/WebX/.1de60a0a vicodin online] [http://wc1.worldcrossing.com/WebX/.1de60a17 buy lipitor] [http://wc1.worldcrossing.com/WebX/.1de60a0b vigrx online] [http://wc1.worldcrossing.com/WebX/.1de60a1a free mtv ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=141&forum=13 cheap soma] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=112&forum=13 lorazepam online] [http://wc1.worldcrossing.com/WebX/.1de609ff free real ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=162&forum=13 cheap zyban] [http://wc1.worldcrossing.com/WebX/.1de609dc albuterol online] [http://wc1.worldcrossing.com/WebX/.1de60a12 free ericsson ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f0 lorazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=161&forum=13 but zoloft] [http://wc1.worldcrossing.com/WebX/.1de609db but adipex] [http://wc1.worldcrossing.com/WebX/.1de60a0c buy wellbutrin] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=84&forum=13 free alltel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=94&forum=13 cool ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=122&forum=13 free nextel ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a32 zoloft] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=93&forum=13 clonazepam online] [http://wc1.worldcrossing.com/WebX/.1de60a2d valium online] [http://wc1.worldcrossing.com/WebX/.1de60a13 fioricet online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=115&forum=13 midi ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a2e cheap xanax] [http://wc1.worldcrossing.com/WebX/.1de60a23 polyphonic ringtones] [http://wc1.worldcrossing.com/WebX/.1de609ed hoodia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=113&forum=13 but lortab] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=85&forum=13 cheap alprazolam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=106&forum=13 hydrocodone online] [http://wc1.worldcrossing.com/WebX/.1de609f1 cheap lortab] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=149&forum=13 cheap ultracet] [http://wc1.worldcrossing.com/WebX/.1de609ea free free ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f4 mono ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=88&forum=13 carisoprodol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=143&forum=13 sony ringtones] [http://wc1.worldcrossing.com/WebX/.1de609fb order ortho] [http://wc1.worldcrossing.com/WebX/.1de60a07 tracfone ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a22 cheap phentermine] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=125&forum=13 ortho online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=159&forum=13 cheap xenical] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=131&forum=13 order prozac] [http://wc1.worldcrossing.com/WebX/.1de609e1 cheap carisoprodol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=130&forum=13 propecia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=101&forum=13 but flexeril] [http://wc1.worldcrossing.com/WebX/.1de609fe free qwest ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=100&forum=13 buy fioricet] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=105&forum=13 cheap hoodia] [http://wc1.worldcrossing.com/WebX/.1de60a36 zyban online] [http://people.msoe.edu/~millerni/forums.php?show=topic
1637
1629
2007-07-05T12:24:48Z
Phil
1
Reverted edit of FtgFkw, changed back to last version by Phil
wikitext
text/x-wiki
= Welcome =
This Wiki supports various projects around [http://www.reseaucitoyen.be RéseauCitoyen].
Most of the technical parts are in English, while some others are in French...
<br />Feel free to contribute in your own language!
However, you will have to register in order be able to contribute:
# It is a good protection against wiki spam
# It is an easy way to give credit to the author of a contribution
Due to repeated SPAMS, user registration is only possible by Sysops. If you would like to contribute, let me know...
= Bienvenue =
Ce wiki héberge divers projets relatifs à [http://www.reseaucitoyen.be RéseauCitoyen].
La plupart des articles techniques sont rédigés en Anglais, mais certains le sont en Français aussi...
<br />n'hésitez pas à contribuer dans votre langue!
Toutefois, vous devez vous enregistrer pour pouvoir contribuer:
# C'est une bonne protection contre le spam wiki
# C'est un moyen simple de donner du crédit à l'auteur d'une contribution
Suite au multiples SPAMS, la création des utilisateurs n'est possible que via un sysop. Si vous désirez contribuer, faites le moi savoir...
= Technicalities =
This wiki is available at the same time on Internet and [http://www.reseaucitoyen.be RéseauCitoyen]. Historically it was hosted on my home gateway, but the hardware is too old to be able to run MediaWiki happily.
<br />So I eventually decided to move the wiki to the datacenter and use a reverse proxy for the [http://www.reseaucitoyen.be RéseauCitoyen] side. This implies that we need to detect proxies, and be able to link outside the wiki, without specifying the name of the server. This requires a couple of changes in the ''LocalSettings.php'' configuration file:
# Protocols -- we need this shortcut to link outside the wiki
# (Same behaviour as MoinMoin)
$wgUrlProtocols .= '|http:';
# Take care of the reverse proxy
$wgUseSquid = false;
Kamikaze
0
1350
1630
1600
2007-07-04T07:55:07Z
Dako
4
/* asterisk */
wikitext
text/x-wiki
===installer openwrt kamikaze pour x86===
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
1631
1630
2007-07-04T07:59:53Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze pour x86===
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
un reboot histoire d avoir le net pour passer a la suite
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
1632
1631
2007-07-05T10:43:40Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze pour x86===
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
un reboot histoire d avoir le net pour passer a la suite
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
--dako 2007-07-05
1659
1632
2007-07-13T06:34:08Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze pour x86===
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
un reboot histoire d avoir le net pour passer a la suite
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
===configurer openwrt kamikaze pour fonera===
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
option txpower 79
--dako 2007-07-05
1660
1659
2007-07-14T19:04:55Z
Dako
4
wikitext
text/x-wiki
===installer openwrt kamikaze pour x86===
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
un reboot histoire d avoir le net pour passer a la suite
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
option txpower 79
--dako 2007-07-05
1661
1660
2007-07-14T19:40:47Z
Dako
4
/* configurer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
===installer openwrt kamikaze pour x86===
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
un reboot histoire d avoir le net pour passer a la suite
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
option txpower 79
--dako 2007-07-05
1662
1661
2007-07-14T19:41:14Z
Dako
4
/* installer openwrt kamikaze pour x86 */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
un reboot histoire d avoir le net pour passer a la suite
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
option txpower 79
--dako 2007-07-05
RcNg
0
1353
1633
1609
2007-07-05T11:52:57Z
Dako
4
wikitext
text/x-wiki
===Todo===
* [[olsr.conf]] generique
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
* un systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
1638
1633
2007-07-05T12:28:41Z
Dako
4
wikitext
text/x-wiki
===Todo===
* [[olsr.conf]] generique
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
* un systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
* fonera easy rcflash :)
1639
1638
2007-07-05T12:29:13Z
Dako
4
wikitext
text/x-wiki
===Todo===
* [[olsr.conf]] generique
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
* un systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
* fonera easy rcflash :) [[foneraxprmntl]]
Fichiershostsrc
0
1356
1634
2007-07-05T11:53:05Z
Dako
4
wikitext
text/x-wiki
#change la ligne avec ton propre nom d hote
#127.0.0.1 localhost.localdomain localhost # petv
###10.93.1.0/24 channel1 essid bombolong (G Omni).
10.93.1.1 josaphat #Omni 2.4
10.93.1.2 PeTv #connecte a la rue de molenbeek newreal amalia
10.93.1.3 Atelier #( rue de molenbeek )
10.93.1.4 Matinal
10.93.1.5 Amalia
10.93.1.6 Newreal
10.93.1.7 atelierbis
10.93.1.8 Newrealbis
10.93.1.9 ChienVert
10.93.1.10 LaekenStation
10.93.1.11 Olme
10.93.1.12 botatv #( Boulevard Saint Lazarre 1210 Saint Josse | rubber duck 7dbi)
10.93.1.13 denswrt
10.93.1.14 panik
10.93.1.15 bossuet
10.93.1.16 ivan
10.93.1.17 madou
10.93.1.18 ministere
10.93.1.19 okno
10.93.1.20 pointdom
10.93.1.21 philantropie
10.93.1.22 bulles
10.93.1.23 soon #(A.M.)
10.93.1.24 svenontheroof
10.93.1.25 svenwrt
10.93.1.26 wlhdd #(travelnode)
10.93.1.27 wl500g
10.93.1.28 all0277
10.93.1.29 ruedemerode
10.93.1.30 boulette
10.93.1.31 imke
10.93.1.32 imke2
10.93.1.33 botatv2 #(omni 7dbi + usb)
10.93.1.34 leysin
10.93.1.35 hotel
10.93.1.36 sourcenode
10.93.1.37 clementine
10.93.1.38 Morgiver
#[modifier] POur les renfort en 5ghz et 2.4ghz
# 10.93.0.0/27 CHeypas
#10.93.0.1
#10.93.0.32/27 PeTv
10.93.0.33 petvwepch11
10.93.0.34 rmolenwepch11
10.93.0.35 Cheypas (G Yagi)
#10.93.0.64/27 Rmolen lan inter-nodes
10.93.0.65 Rmolen5g-lan
10.93.0.66 Rmolench1-lan
10.93.0.67 Rmolench1bis-lan
10.93.0.68 rmolench11-lan
10.93.0.69 sipcli-lan
10.93.0.70 sip2cli-lan
# 10.93.0.96/27 5ghz josaphatmaster (Netmask: 255.255.255.224, Broadcast: 10.93.0.127)
10.93.0.97 5ghzjosaphatmaster
10.93.0.98 5ghzrmolen
10.93.0.99 5ghzmadou
10.93.0.100 5ghzchazal
10.93.0.101 5ghzokno
# 10.93.0.128/27 pointdomlan
10.93.0.129 pointdomchan1lan
10.93.0.130 pointdomchan11lan
#wa
10.98.253.113 atomium1
10.98.253.114 atomium2
10.98.253.116 wa-rc1
10.98.253.117 wa-rc2
10.98.255.57 hob-dish
10.98.255.121 lier-eth
10.98.255.33 horizon-panel
10.98.255.25 oost-omni
10.98.20.10 westerlo
10.98.22.10 averbode
10.98.16.10 berchem
10.98.7.10 stadspark
10.98.2.15 oostcam
10.98.2.100 hamnet
10.98.15.17 lier
# END: wireless-antwerpen
1635
1634
2007-07-05T11:54:33Z
Dako
4
wikitext
text/x-wiki
#change la ligne avec ton propre nom d hote
#127.0.0.1 localhost.localdomain localhost # petv
#
###10.93.1.0/24 channel1 essid bombolong (G Omni).
10.93.1.1 josaphat #Omni 2.4
10.93.1.2 PeTv #connecte a la rue de molenbeek newreal amalia
10.93.1.3 Atelier #( rue de molenbeek )
10.93.1.4 Matinal
10.93.1.5 Amalia
10.93.1.6 Newreal
10.93.1.7 atelierbis
10.93.1.8 Newrealbis
10.93.1.9 ChienVert
10.93.1.10 LaekenStation
10.93.1.11 Olme
10.93.1.12 botatv #( Boulevard Saint Lazarre 1210 Saint Josse | rubber duck 7dbi)
10.93.1.13 denswrt
10.93.1.14 panik
10.93.1.15 bossuet
10.93.1.16 ivan
10.93.1.17 madou
10.93.1.18 ministere
10.93.1.19 okno
10.93.1.20 pointdom
10.93.1.21 philantropie
10.93.1.22 bulles
10.93.1.23 soon #(A.M.)
10.93.1.24 svenontheroof
10.93.1.25 svenwrt
10.93.1.26 wlhdd #(travelnode)
10.93.1.27 wl500g
10.93.1.28 all0277
10.93.1.29 ruedemerode
10.93.1.30 boulette
10.93.1.31 imke
10.93.1.32 imke2
10.93.1.33 botatv2 #(omni 7dbi + usb)
10.93.1.34 leysin
10.93.1.35 hotel
10.93.1.36 sourcenode
10.93.1.37 clementine
10.93.1.38 Morgiver
#
#[modifier] POur les renfort en 5ghz et 2.4ghz
# 10.93.0.0/27 CHeypas
#10.93.0.1
#10.93.0.32/27 PeTv
10.93.0.33 petvwepch11
10.93.0.34 rmolenwepch11
10.93.0.35 Cheypas (G Yagi)
#
#10.93.0.64/27 Rmolen lan inter-nodes
10.93.0.65 Rmolen5g-lan
10.93.0.66 Rmolench1-lan
10.93.0.67 Rmolench1bis-lan
10.93.0.68 rmolench11-lan
10.93.0.69 sipcli-lan
10.93.0.70 sip2cli-lan
#
# 10.93.0.96/27 5ghz josaphatmaster (Netmask: 255.255.255.224, Broadcast: 10.93.0.127)
10.93.0.97 5ghzjosaphatmaster
10.93.0.98 5ghzrmolen
10.93.0.99 5ghzmadou
10.93.0.100 5ghzchazal
10.93.0.101 5ghzokno
#
# 10.93.0.128/27 pointdomlan
10.93.0.129 pointdomchan1lan
10.93.0.130 pointdomchan11lan
#wa
10.98.253.113 atomium1
10.98.253.114 atomium2
10.98.253.116 wa-rc1
10.98.253.117 wa-rc2
10.98.255.57 hob-dish
10.98.255.121 lier-eth
10.98.255.33 horizon-panel
10.98.255.25 oost-omni
10.98.20.10 westerlo
10.98.22.10 averbode
10.98.16.10 berchem
10.98.7.10 stadspark
10.98.2.15 oostcam
10.98.2.100 hamnet
10.98.15.17 lier
# END: wireless-antwerpen
Foneraxprmntl
0
1357
1640
2007-07-05T12:31:04Z
Dako
4
a
wikitext
text/x-wiki
lors de ma derniere tentative je l ai predu
il y a 3 switch qui separent le server tftp de la fonera ce doit etre le probleme
RedBoot> fis list
Name FName FLASH addr Mem addr Length Entry point
RedBoot> fis init
** Error: Illegal command: "Name"
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> ip_address -l 192.168.1.254/24 -h 192.168.1.166
IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.166
RedBoot> load -r -v -b 0x80040450 rootfs
Using default protocol (TFTP)
TFTP timed out 1/15
Can't load 'rootfs': operation timed out
RedBoot> ip_address -l 192.168.1.254/24 -h 192.168.1.166
IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.166
RedBoot> load -r -v -b 0x80040450 rootfs
Using default protocol (TFTP)
Can't load 'rootfs': Unknown error
RedBoot> load -r -v -b 0x80040450 openwrt-atheros-2.6-root.jffs2-64k
Using default protocol (TFTP)
-
Raw file loaded 0x80040450-0x801e044f, assumed entry at 0x80040450
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 openwrt-atheros-2.6-root.jffs2-64k
Name is too long, must be less than 16 chars
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
... Erase from 0xa8030000-0xa8730000: ................................................................................................................
... Program from 0x80040450-0x80740450 at 0xa8030000: .............................................................
...................................................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> /home/lihong/Projects/MR3201A/src/Redboot/ecos/packages/devs/eth/mips/ar531x/current/src/ae531xecos.c#632:ae531x_poll Bad receive. rxDesc=0x80037db4 cmdsts=0x05428322
/home/lihong/Projects/MR3201A/src/Redboot/ecos/packages/devs/eth/mips/ar531x/current/src/ae531xecos.c#632:ae531x_poll Bad receive. rxDesc=0x80037db4 cmdsts=0x05428322
Asterisk
0
1351
1655
1603
2007-07-11T11:38:58Z
Dako
4
wikitext
text/x-wiki
====petite réflexion====
je passe du temps a apprendre asterisk
ne serait il as judicieux de travailler avec nuprojet plus beta mais plus dynamique comme callweaver par exemple.
http://callweaver.org/blog
[[DialPLanRc]]
====Howto====
===asterisk kamikaze et openwrt===
1656
1655
2007-07-11T11:40:25Z
Dako
4
wikitext
text/x-wiki
===petite réflexion===
je passe du temps a apprendre asterisk
ne serait il as judicieux de travailler avec nuprojet plus beta mais plus dynamique comme callweaver par exemple.
http://callweaver.org/blog
[[DialPLanRc]]
===Howto===
=====asterisk kamikaze et openwrt=====
=====asterisk debian etch x86=====
1657
1656
2007-07-11T11:41:27Z
Dako
4
wikitext
text/x-wiki
===petite réflexion===
je passe du temps a apprendre asterisk
ne serait il as judicieux de travailler avec nuprojet plus beta mais plus dynamique comme callweaver par exemple.
http://callweaver.org/blog
[[DialPLanRc]]
===Howto-asterisk===
=====[[asterisk kamikaze et openwrt]]=====
=====asterisk debian etch x86=====
Asterisk kamikaze et openwrt
0
1358
1658
2007-07-11T11:42:54Z
Dako
4
wikitext
text/x-wiki
je me base sur les repositories de hans
voir
http://zandbelt.dyndns.org/asterisk.html
mon ipkg.conf
root@rmolen5g:/# cat /etc/ipkg.conf
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://openwrt.org/downloads/snapshots/x86-2.6/packages
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
dest root /
dest ram /tmp
Kamikaze
0
1350
1663
1662
2007-07-14T19:43:24Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
option txpower 79
--dako 2007-07-05
1664
1663
2007-07-14T19:48:50Z
Dako
4
/* configurer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
# option txpower 79
--dako 2007-07-05
1665
1664
2007-07-14T19:52:40Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
# option txpower 79
--dako 2007-07-05
1666
1665
2007-07-14T19:54:50Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
# option txpower 79
====firewall====
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
#ouvrir le port olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
--dako 2007-07-05
1667
1666
2007-07-14T19:55:27Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
# option txpower 79
====firewall====
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
#ouvrir le port olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
--dako 2007-07-05
1668
1667
2007-07-14T19:55:57Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
# option txpower 79
====firewall====
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
#ouvrir le port olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
--dako 2007-07-14
1688
1668
2007-07-21T14:38:35Z
Dako
4
/* configurer */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
# option txpower 79
====firewall====
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
#ouvrir le port olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
--dako 2007-07-14
1689
1688
2007-07-21T14:39:50Z
Dako
4
/* network */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
# option txpower 79
====firewall====
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
#ouvrir le port olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
--dako 2007-07-14
1690
1689
2007-07-21T18:39:36Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
root@bombofonip:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option mode 11b
# option distance 2000
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option mode adhoc
option ssid bombolong
option bssid CA:FE:CA:FE:CA:FE
option bgscan 0
# option txpower 79
====firewall====
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
#ouvrir le port olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
--dako 2007-07-21
1691
1690
2007-07-21T18:48:09Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====firewall====
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
#ouvrir le port olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
--dako 2007-07-21
1692
1691
2007-07-21T18:48:39Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====firewall====
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
#ouvrir le port olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
--dako 2007-07-21
1693
1692
2007-07-21T19:29:58Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen que vous pouvez aussi telecharger ici alcs.
wget http://10.93.0.33/rc/fonera/config/wireless
cp wireless /etc/config
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1694
1693
2007-07-22T08:48:28Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1698
1694
2007-07-22T16:53:16Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
====installer openwrt kamikaze pour fonera====
fis init
load -r -v -b 0x80040450 kamikaze.root
fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
load -r -b %{FREEMEMLO} kamikaze.kernel
fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
fis load -l vmlinux.bin.l7
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1699
1698
2007-07-22T16:53:36Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
====installer openwrt kamikaze pour fonera====
fis init
load -r -v -b 0x80040450 kamikaze.root
fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
load -r -b %{FREEMEMLO} kamikaze.kernel
fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
fis load -l vmlinux.bin.l7
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1700
1699
2007-07-22T17:01:52Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
====installer openwrt kamikaze pour fonera====
se connecter en redboot
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1701
1700
2007-07-22T17:16:04Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
====installer openwrt kamikaze pour fonera====
se connecter en redboot
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1702
1701
2007-07-22T18:42:23Z
Dako
4
/* configurer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
====installer openwrt kamikaze pour fonera====
se connecter en redboot
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1703
1702
2007-07-22T18:45:27Z
Dako
4
/* configurer la fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
====installer openwrt kamikaze pour fonera====
se connecter en redboot
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1704
1703
2007-07-22T20:24:34Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
====installer openwrt kamikaze pour fonera====
se connecter en redboot
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1705
1704
2007-07-23T08:12:53Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
===installer openwrt kamikaze pour fonera===
se connecter en redboot
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1706
1705
2007-07-23T08:13:47Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
se connecter en redboot
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
==configurer openwrt kamikaze pour fonera==
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1707
1706
2007-07-23T08:14:23Z
Dako
4
/* configurer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
se connecter en redboot
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1708
1707
2007-07-23T08:16:19Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
se connecter en redboot
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1709
1708
2007-07-23T09:50:23Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
*se connecter en redboot
telnet 192.168.1.254 9000
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1710
1709
2007-07-23T09:51:00Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
*se connecter en redboot
telnet 192.168.1.254 9000
configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
i#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1711
1710
2007-07-24T08:31:29Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===mettre en place le serveur tftp===
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
*se connecter en redboot
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
*configurer l adresse du serveur tftp local
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1712
1711
2007-07-24T08:33:41Z
Dako
4
/* mettre en place le serveur tftp */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===mettre en place le serveur tftp===
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
===se connecter en redboot===
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
==configurer l adresse du serveur tftp local==
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
RcNg
0
1353
1669
1639
2007-07-19T12:02:21Z
Dako
4
wikitext
text/x-wiki
===Todo===
* [[olsr.conf]] generique
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
* un systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
* fonera easy rcflash :) [[foneraxprmntl]]
* une page claire qui explique l adressage ip. [[attributionsIp]]
1695
1669
2007-07-22T08:52:10Z
Dako
4
/* Todo */
wikitext
text/x-wiki
===Todo===
* [[olsr.conf]] generique
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
* un systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
* fonera easy rcflash :) [[foneraxprmntl]]
* une page claire qui explique l adressage ip. [[attributionsIp]]
* avahi
1696
1695
2007-07-22T08:55:39Z
Dako
4
/* Todo */
wikitext
text/x-wiki
===Todo===
* [[olsr.conf]] generique
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
* un systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
* fonera easy rcflash :) [[foneraxprmntl]]
* une page claire qui explique l adressage ip. [[attributionsIp]]
* [[avahi]]
AttributionsIp
0
1359
1670
2007-07-19T12:07:03Z
Dako
4
wikitext
text/x-wiki
pour comprendre allez sur cette page [[lePourquoiDuChangementdIp]] de règle
on s attribue un /16 pour tout bxl
et dedans on garde /22 pour les omnis
le reste est distribué par tranche de /27 pour les doubles interfaces et autres.
pôur rester original on commence le /22 par la fin :)
10.93.254.254
10.93.254.253
10.93.254.252
.....
et pour les /27 on commence par le début.
10.93.0.1/27
10.93.0.33/27
....
1671
1670
2007-07-19T12:11:44Z
Dako
4
wikitext
text/x-wiki
pour comprendre allez sur cette page [[lePourquoiDuChangementdIp]] de règle
on s attribue un /16 pour tout bxl
et dedans on garde /22 pour les omnis
le reste est distribué par tranche de /27 pour les doubles interfaces et autres.
pôur rester original on commence le /22 par la fin :)
** 10.93.255.0/22 channel1 essid bombolong (G Omni).
*** 10.93.255.254 josaphat Omni 2.4
*** 10.93.255.253 PeTv connecte a la rue de molenbeek newreal amalia
*** 10.93.255.252 Atelier ( rue de molenbeek )
*** 10.93.255.251 Matinal
*** 10.93.255.250 Amalia
*** 10.93.255.249 Newreal
*** 10.93.1.7 atelier-bis
*** 10.93.1.8 Newreal bis
*** 10.93.1.9 ChienVert
*** 10.93.1.10 LaekenStation
*** 10.93.1.11 Olme
*** 10.93.1.12 botatv ( Boulevard Saint Lazarre 1210 Saint Josse | rubber duck 7dbi)
*** 10.93.1.13 denswrt
*** 10.93.1.14 panik
*** 10.93.1.15 bossuet
*** 10.93.1.16 ivan
*** 10.93.1.17 madou
*** 10.93.1.18 ministere
*** 10.93.1.19 okno
*** 10.93.1.20 pointdom
*** 10.93.1.21 philantropie
*** 10.93.1.22 bulles
*** 10.93.1.23 so-on (A.M.)
*** 10.93.1.24 svenontheroof
*** 10.93.1.25 svenwrt
*** 10.93.1.26 wlhdd (travelnode)
*** 10.93.1.27 wl500g
*** 10.93.1.28 all0277
*** 10.93.1.29 ruedemerode
*** 10.93.1.30 boulette
*** 10.93.1.31 imke
*** 10.93.1.32 imke2
*** 10.93.1.33 botatv2 (omni 7dbi + usb)
*** 10.93.1.34 leysin
*** 10.93.1.35 hotel
*** 10.93.1.36 sourcenode
*** 10.93.1.37 clementine
*** 10.93.1.38 Morgiver
*** 10.93.1.39 bombofon39
*** 10.93.1.40 bombofon40
*** 10.93.1.41 oldRCwrtFirmware
*** 10.93.1.42 inconnumais dans les routes
Pour les /27 on commence par le début.
10.93.0.1/27
10.93.0.33/27
....
Olsr.conf
0
1355
1672
1654
2007-07-20T23:59:16Z
Dako
4
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====le bon ====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====olsr.conf du test olsr de 2003====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
====un fichiers de config d un olsr compilé a partir de source de openmesh====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1673
1672
2007-07-21T00:01:59Z
Dako
4
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====le bon ====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
====le fichiers olsrd.conf d une freifunk====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1674
1673
2007-07-21T00:02:24Z
Dako
4
/* le fichiers olsrd.conf d une freifunk */
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====le bon ====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1675
1674
2007-07-21T00:03:01Z
Dako
4
/* le bon */
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
LinkQualityFishEye 1
LinkQualityDijkstraLimit 3 5.0
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1676
1675
2007-07-21T00:04:29Z
Dako
4
/* olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-.. */
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|
|
|
|-
!MprCoverage
|defaults to 1
|
|
|
|-
!LinkQualityFishEye
| x
|
|
|
|-
!LinkQualityWinSize
| x
|
|
|
|-
!LinkQualityDijkstraLimit
| x
|
|
|
|-
!LinkQualityLevel
| 2
|
|
|
|-
!UseHysteresis
| no
|
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1677
1676
2007-07-21T00:11:14Z
Dako
4
wikitext
text/x-wiki
====description des différents paramètres====
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!AllowNoInt
|yes
|yes
|yes
|yes
|-
!ClearScreen
|yes
|yes
|yes
|yes
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1678
1677
2007-07-21T00:15:07Z
Dako
4
/* description des différents paramètres */
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!AllowNoInt
|yes
|yes
|yes
|yes
|-
!ClearScreen
|yes
|yes
|yes
|yes
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1679
1678
2007-07-21T00:15:34Z
Dako
4
/* AllowNoInt */
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio.
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
!AllowNoInt
|yes
|yes
|yes
|yes
|-
!ClearScreen
|yes
|yes
|yes
|yes
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1680
1679
2007-07-21T00:16:08Z
Dako
4
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio.
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
![[AllowNoInt|#AllowNoInt]]
|yes
|yes
|yes
|yes
|-
!ClearScreen
|yes
|yes
|yes
|yes
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1681
1680
2007-07-21T00:16:36Z
Dako
4
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio.
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
![[AllowNoInt #AllowNoInt]]
|yes
|yes
|yes
|yes
|-
!ClearScreen
|yes
|yes
|yes
|yes
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1682
1681
2007-07-21T00:17:19Z
Dako
4
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio.
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
![[http://www.e-bulles.be/bubble/Olsr.conf#AllowNoInt AllowNoInt]]
|yes
|yes
|yes
|yes
|-
!ClearScreen
|yes
|yes
|yes
|yes
|-
!pollingrate
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1683
1682
2007-07-21T00:19:12Z
Dako
4
/* un tableau pour comprendre les options */
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio.
=====polling rate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
![http://www.e-bulles.be/bubble/Olsr.conf#AllowNoInt AllowNoInt]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#ClearScreen ClearScreen]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#PollingRate PollingRate]
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1684
1683
2007-07-21T00:19:53Z
Dako
4
/* polling rate */
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio.
=====PollingRate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
![http://www.e-bulles.be/bubble/Olsr.conf#AllowNoInt AllowNoInt]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#ClearScreen ClearScreen]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#PollingRate PollingRate]
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1685
1684
2007-07-21T00:20:50Z
Dako
4
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio.
=====ClearScreen=====
=====PollingRate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
![http://www.e-bulles.be/bubble/Olsr.conf#AllowNoInt AllowNoInt]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#ClearScreen ClearScreen]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#PollingRate PollingRate]
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1686
1685
2007-07-21T00:23:05Z
Dako
4
/* ClearScreen */
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio.
=====ClearScreen=====
Tables are now only printed if changes occur, so there are no longer any periodical output when using a debuglevel >0. A "heartbeat" is now printed to STDOUT(if it is a terminal) in the form of a rotating line to show that olsrd is actually operating. Adding "ClearScreen yes" to the configuration file clears the screen each time before the debug output shows updated information. This makes the debug output easier to read in many cases. "ClearScreen no" is the default, if no "ClearScreen" directive is given in the configuration file.
=====PollingRate=====
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
![http://www.e-bulles.be/bubble/Olsr.conf#AllowNoInt AllowNoInt]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#ClearScreen ClearScreen]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#PollingRate PollingRate]
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
1687
1686
2007-07-21T00:26:53Z
Dako
4
/* PollingRate */
wikitext
text/x-wiki
====description des différents paramètres====
=====AllowNoInt=====
cette option permet de laisser olsr en standy by lorsqu il n y a plus d interfaces sans planter.
pratique lors d' un /etc/init.d/networking restart ou d'une reconfiguraztion de carte radio.
=====ClearScreen=====
Tables are now only printed if changes occur, so there are no longer any periodical output when using a debuglevel >0. A "heartbeat" is now printed to STDOUT(if it is a terminal) in the form of a rotating line to show that olsrd is actually operating. Adding "ClearScreen yes" to the configuration file clears the screen each time before the debug output shows updated information. This makes the debug output easier to read in many cases. "ClearScreen no" is the default, if no "ClearScreen" directive is given in the configuration file.
=====PollingRate=====
This option sets the interval, in seconds, that the olsrd event scheduler should be set to poll. A setting of 0.2 will set olsrd to poll for events every 0.2 seconds. Defaults to 0.1.
=====TcRedundancy=====
La TC redundancy indique combien d'information de voisin devrait être introduite des messages de TC
les valeurs que possibles sont :
0 - envoyez seulement les sélecteurs de MPR
1 - envoyez les sélecteurs MPR et les MPRs
2 - envoient a tous les voisins
#
par default la valeur est a 0
MultiPointRelais est une des autres 'optimization' notoires
; disponible dans RFC3626...
mettez la valeur a off en mettant la valeur de redondance a 2
=====LinkQualityFishEye=====
=====jikstra=====
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
====un tableau pour comprendre les options====
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Intitulé
| TestOlsr (rcwiki)
| Rcng
| OlsrV0.5
| Freifunk
|-
![http://www.e-bulles.be/bubble/Olsr.conf#AllowNoInt AllowNoInt]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#ClearScreen ClearScreen]
|yes
|yes
|yes
|yes
|-
![http://www.e-bulles.be/bubble/Olsr.conf#PollingRate PollingRate]
|Default value 0.05 sec
|
|
|
|-
!TcRedundancy
|defaults to 0
|2
|
|
|-
!MprCoverage
| defaults to 1
| 7
|
|
|-
!LinkQualityFishEye
| x
| 1
|
|
|-
!LinkQualityWinSize
| x
| 100
|
|
|-
!LinkQualityDijkstraLimit
| x
| 0 9.0
|
|
|-
!LinkQualityLevel
| 2
| 2
|
|
|-
!UseHysteresis
| no
| no
|
|
|}
====la bonne configuration====
=====olsrd.conf utilisé par reseaucitoyen avec olsr 5.0-..=====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====autres exemples====
=====olsr.conf du test olsr de 2003=====
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.1
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityWinSize 100
LinkQualityDijkstraLimit 0 5.0
IpcConnect
{
MaxConnections 1
Host 127.0.0.1
Net 192.168.1.0 255.255.255.0
}
LinkQualityLevel 2
UseHysteresis no
Interface "eth1"
{
HelloInterval 5.0
HelloValidityTime 20.0
TcInterval 2.0
TcValidityTime 30.0
MidInterval 15.0
MidValidityTime 30.0
HnaInterval 15.0
HnaValidityTime 30.0
}
=====le fichiers olsrd.conf d une freifunk=====
##################################################
## Freifunk Default OLSRD.CONF ##
## olsr.org OLSR daemon config file ##
## onelektra at gmx dot net ##
##################################################
#
# Lines starting with a # are discarded
#
# This file was edited by Elektra and needs
# olsrd-0.4.10 CVS or higher
#
# This file is an example of a typical configuration
# for a huge (250 Nodes or more), reliable, scalable
# routing-loop-free (well, almost :) and mostly static
# network (regarding mobility) using the LQ extention
# and FishEyeAlgorithm with LinkQualityDijkstraLimit
# to reduce CPU-Overhead
#
# Debug level(0-9)
# If set to 0 the daemon runs in the background
# Use Debug level 0 on a embedded system -
# debugging draws a lot of CPU-Power
DebugLevel 1
# FishEyeAlgorithm - Disable only if you want to
# experience routing loops :)
# See the README about Fisheye in the olsrd-source
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-Table for every
# incoming TC-Message from nodes more than n hops away -
# Disable this algorithm in a huge mesh only if you are
# interested to accelerate global warming with overheated CPUs
# The first integer tells the algorithm to recalculate
# the Dijkstra-table when a TC-Message arrives from a node
# not more than n hops away. If set to 0 it will not
# recalculate it upon incoming TCs
# The second number (float) sets the time interval when
# the Dijkstra table will be recalculated anyway.
# Whatever comes first...
LinkQualityDijkstraLimit 3 5.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Don't use this to announce an Internet Gateway -
# rather use the dyn_gw plugin that checks wheter you are
# actually a gateway or a black hole for other peoples
# internet traffic...
# Internet gateway:
# 0.0.0.0 0.0.0.0
# more entries can be added:
# 192.168.1.0 255.255.255.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
Willingness 7
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 1
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
#Net 192.168.1.0 255.255.255.0
}
# Enable Hysteresis only if you want your routing table
# to brake down every 5 seconds
# Hysteresis is one of this fancy looking 'optimizations'
# in RFC 3626 that don't work in real life
# If unsure say "NO!"
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
#
# If you know what you are doing
# you make sure that hysteresis
# is completely SWITCHED OFF!
#
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
# 100 is slow but stable...
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
# MultiPointRelais is another notorious
# 'optimization' feature in RFC3626...
# Switch it off by chosing redundancy value 2
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
#
# Full coverage is the way to get rid of this
# annoying 'optimization'
MprCoverage 7
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
# This activates the HTTP Info plugin on port 8080 for
# localhost only.
LoadPlugin "httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "accept" "localhost"
}
# This plugin generates the information to make those fancy
# 2D and 3D topology graphs
#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
# PlParam "accept" "192.168.120.17"
#}
# This plugin announces that this node is a gateway into
# other networks, it it actually is:
#LoadPlugin "olsrd_dyn_gw.so.0.3"
#{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
# Example: dyn_gw params
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
#}
# This plugin announces services available on your router:
# Of course the configfile should be present...
# LoadPlugin "olsrd_servicediscover.so.0.3"
#{
# PlParam "configfile" "/etc/servicediscover.conf"
#};
# Add more plugins here...
# Finally, the interfaces section:
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
#
# can be specified in the same block
# and multiple blocks can be set.
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth0" "eth1" "wlan0"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
# Ip4Broadcast 255.255.255.255
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
# Ip6AddrType site-local
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
# Ip6MulticastSite ff05::11
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
# Ip6MulticastGlobal ff0e::1
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
# Hello interval in seconds(float)
HelloInterval 5.0
# HELLO validity time
HelloValidityTime 300.0
# TC interval in seconds(float)
TcInterval 2.0
# TC validity time
TcValidityTime 300.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 300.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 300.0
# When multiple links exist between hosts
# the weight of interface is used to determine
# the link to use. Normally the weight is
# automatically calculated by olsrd based
# on the characteristics of the interface,
# but here you can specify a fixed value.
# Olsrd will choose links with the lowest value.
# Weight 0
}
=====un fichiers de config d un olsr compilé a partir de source de openmesh=====
# niveau de debug(0-9)
# si vous mettez a 0 le daemon tourne en tache de fond
DebugLevel 0
# Fisheye mechanism for TC messages 0=off, 1=on
LinkQualityFishEye 1
# Don't recalculate the Dijkstra-table for every incoming topology
# control packet. There is no need to recalculate the whole table
# if a minor change occured several hops away. Small CPUs will start
# to glow if you do this in a mesh of considerable size. Rather the table
# should be recalculated if a change occured in the neighborhood
# of this node. The first number is the number of hops. Nodes within
# this number of hops trigger a recalculation of the table. If the
# number is 0 no incoming topology control packet will trigger
# a recalculation of the table. The second number (floating point!)
# is the length ot the interval until the table is recalculated anyway.
LinkQualityDijkstraLimit 1 6.0
# IP version to use (4 or 6)
IpVersion 4
# Clear the screen each time the internal state changes
ClearScreen yes
# HNA IPv4 routes
# syntax: netaddr netmask
# Example Internet gateway:
# 0.0.0.0 0.0.0.0
Hna4
{
# Internet gateway:
0.0.0.0 0.0.0.0
}
# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
Hna6
{
# Internet gateway:
# :: 0
# more entries can be added:
# fec0:2200:106:: 48
}
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# TOS(type of service) value for
# the IP header of control traffic.
# If not set it will default to 16
#TosValue 16
# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynamically based on battery/power status
# if such information is available
#Willingness 4
# Allow processes like the GUI front-end
# to connect to the daemon.
IpcConnect
{
# Determines how many simultaneously
# IPC connections that will be allowed
# Setting this to 0 disables IPC
MaxConnections 6
# By default only 127.0.0.1 is allowed
# to connect. Here allowed hosts can
# be added
Host 127.0.0.1
#Host 10.0.0.5
# You can also specify entire net-ranges
# that are allowed to connect. Multiple
# entries are allowed
Net 192.168.16.0 255.255.255.0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the
# link sensing but delays neighbor registration.
# Used by default. 'yes' or 'no'
# Do not use hysteresis with ETX!
UseHysteresis no
# Hysteresis parameters
# Do not alter these unless you know
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH.
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
# Defaults to 0
LinkQualityLevel 2
# Link quality window size
# Defaults to 10
LinkQualityWinSize 100
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# TC redundancy
# Specifies how much neighbor info should
# be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
#
# defaults to 0
TcRedundancy 2
#
# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
#
# Can be set to any integer >0
#
# defaults to 1
MprCoverage 5
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
# Example plugin entry with parameters:
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
# Here parameters are set to be sent to the
# plugin. Theese are on the form "key" "value".
# Parameters ofcause, differs from plugin to plugin.
# Consult the documentation of your plugin for details.
#
# Example: dyn_gw params
#
# how often to check for Internet connectivity
# defaults to 5 secs
# PlParam "Interval" "40"
#
# if one or more IPv4 addresses are given, do a ping on these in
# descending order to validate that there is not only an entry in
# routing table, but also a real internet connection. If any of
# these addresses could be pinged successfully, the test was
# succesful, i.e. if the ping on the 1st address was successful,the
# 2nd won't be pinged
# PlParam "Ping" "141.1.1.1"
# PlParam "Ping" "194.25.2.129"
}
#
#LoadPlugin "olsrd_httpinfo.so.0.1"
#{
# PlParam "port" "8080"
# PlParam "Net" "0.0.0.0 255.255.255.255"
#}
#
##
# Interfaces and their rules
# Omitted options will be set to the
# default values. Multiple interfaces
# can be specified in the same block
# and multiple blocks can be set.
#
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
#
Interface "eth1" "eth2"
{
# IPv4 broadcast address to use. The
# one usefull example would be 255.255.255.255
# If not defined the broadcastaddress
# every card is configured with is used
#
# Ip4Broadcast 255.255.255.255
#
# IPv6 address scope to use.
# Must be 'site-local' or 'global'
#
# Ip6AddrType site-local
#
# IPv6 multicast address to use when
# using site-local addresses.
# If not defined, ff05::15 is used
#
# Ip6MulticastSite ff05::11
#
# IPv6 multicast address to use when
# using global addresses
# If not defined, ff0e::1 is used
#
# Ip6MulticastGlobal ff0e::1
#
#
# Emission intervals.
# If not defined, RFC proposed values will
# be used in most cases.
#
# Hello interval in seconds(float)
HelloInterval 5.0
#
# HELLO validity time
HelloValidityTime 200.0
#
#
# TC interval in seconds(float) 0.5 is only viable when
# LinkQualityFishEye is enabled. Otherwise larger networks would
# suffocate from a massive protocol overhead of TC-messages
#
TcInterval 0.5
# TC validity time
TcValidityTime 250.0
# MID interval in seconds(float)
MidInterval 5.0
# MID validity time
MidValidityTime 100.0
# HNA interval in seconds(float)
HnaInterval 5.0
# HNA validity time
HnaValidityTime 100.0
##
##
# If a certain route should be preferred or ignored by the mesh, the
# Link Quality value of a node can be multiplied with a factor entered
# here. In the example the route using 192.168.0.1 would rather be
# ignored. A multiplier of 0.5 will result in a small (bad) LinkQuality
# value and a high (bad) ETX value. Note: Link quality multiplier is
# used only when LinkQualityLevel is > 0.
# LinkQualityMult 10.200.172.200 0.9
# This multiplier applies to all other nodes
# LinkQualityMult default 0.8
}
Avahi
0
1360
1697
2007-07-22T08:56:52Z
Dako
4
wikitext
text/x-wiki
bon le truc serais qu il y ai de l avahi sur un interface virtuelle du wlan mais je ne trouve ps doc qui dit ou on specifie les interfaces utilisée par avahi.
help-me
Kamikaze
0
1350
1713
1712
2007-07-24T08:36:54Z
Dako
4
/* configurer l adresse du serveur tftp local */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===mettre en place le serveur tftp===
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
===se connecter en redboot===
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
=====configurer le redboot pour le serveur tftp=====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1714
1713
2007-07-24T08:40:38Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
=====configurer le redboot pour le serveur tftp=====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1715
1714
2007-07-24T08:41:23Z
Dako
4
/* se connecter en redboot */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
===configurer la fonera===
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
====network====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
====wireless====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
====installer olsr====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1716
1715
2007-07-24T08:42:12Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
--dako 2007-07-21
1717
1716
2007-07-31T08:01:58Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
--dako 2007-07-21
1718
1717
2007-07-31T08:17:25Z
Dako
4
/* nat */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
#chmod -x /etc/init.d/S45firewall
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
--dako 2007-07-21
1719
1718
2007-07-31T08:19:27Z
Dako
4
/* nat */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/S45firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
--dako 2007-07-21
1720
1719
2007-07-31T08:19:59Z
Dako
4
/* nat */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/S45firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
--dako 2007-07-21
--dako 2007-07-31
1721
1720
2007-08-03T08:17:17Z
Dako
4
/* nat */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
--dako 2007-07-21
--dako 2007-07-31
1722
1721
2007-08-03T12:48:38Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
--dako 2007-07-21
--dako 2007-07-31
1723
1722
2007-08-03T12:49:02Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
--dako 2007-07-21
--dako 2007-07-31
1728
1723
2007-08-11T15:45:44Z
Dako
4
/* installer openwrt kamikaze pour x86 */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
--dako 2007-07-21
--dako 2007-07-31
1729
1728
2007-08-29T21:07:49Z
Dako
4
/* configurer */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.06/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
--dako 2007-07-21
--dako 2007-07-31
1730
1729
2007-08-29T21:08:26Z
Dako
4
/* info-wrap */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
--dako 2007-07-21
--dako 2007-07-31
1731
1730
2007-09-02T06:48:57Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1732
1731
2007-09-02T07:29:27Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option mode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.mode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option mode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1733
1732
2007-10-15T11:49:06Z
Dako
4
f
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option mode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1734
1733
2007-10-15T11:49:47Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1735
1734
2007-10-16T07:38:45Z
Dako
4
/* info-soekris */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1742
1735
2007-11-17T09:09:15Z
Dako
4
/* info-soekris */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1747
1742
2007-12-13T21:22:17Z
Dako
4
/* mode ap et adhoc sur la meme interface */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
carte a ne pas utiliser au mode ad-hoc
*senao
==conseil repris du forum openwrt ( par onebit)==
I use kamikaze in a mesh network. Each node is configured in adhoc mode.
Broadcom hardware have no problem, while atheros card (meraki, routerboard + CM9) have a lot of problems.
These are my configuration tips
0) compile kamikaze with rate control setted to sample. Edit package/madwifi/Makefile
RATE_CONTROL:=sample
1) Set diversity to 0 in /etc/config/wireless (broadcast goes into one antenna)
2) Set fixed bssid on all nodes (to stop divergency)
3) rts and frag to off (in mesh mode rts has to be set but with madwifi is hard...)
4) set channel (random madwifi segmentation if omitted)
---> /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
5) in /etc/sysctl.conf (for "ath_mgtstart: discard, no xmit buf" problem)
vm.min_free_kbytes = 10000
6) for "ath_mgtstart: discard, no xmit buf" problem and ramping problem
$> iwpriv ath0 uapsd 0
7) to alleviate ramping problem (see http://madwifi.org/ticket/1154)
$> iwpriv ath0 bintval 1000
8) set fixed rate on wireless interface
$> iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1748
1747
2007-12-14T08:49:52Z
Dako
4
/* conseil repris du forum openwrt ( par onebit) */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
carte a ne pas utiliser au mode ad-hoc
*senao
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
==voici quelques conseils==
0) compile kamikaze with rate control setted to sample. Edit package/madwifi/Makefile
RATE_CONTROL:=sample
1) Set diversity to 0 in /etc/config/wireless (broadcast goes into one antenna)
2) Set fixed bssid on all nodes (to stop divergency)
3) rts and frag to off (in mesh mode rts has to be set but with madwifi is hard...)
4) set channel (random madwifi segmentation if omitted)
---> /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
5) in /etc/sysctl.conf (for "ath_mgtstart: discard, no xmit buf" problem)
vm.min_free_kbytes = 10000
6) for "ath_mgtstart: discard, no xmit buf" problem and ramping problem
$> iwpriv ath0 uapsd 0
7) to alleviate ramping problem (see http://madwifi.org/ticket/1154)
$> iwpriv ath0 bintval 1000
8) set fixed rate on wireless interface
$> iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1749
1748
2007-12-14T08:52:04Z
Dako
4
/* voici quelques conseils */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
carte a ne pas utiliser au mode ad-hoc
*senao
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
=voici quelques conseils=
0) compile kamikaze with rate control setted to sample. Edit package/madwifi/Makefile
RATE_CONTROL:=sample
1) Set diversity to 0 in /etc/config/wireless (broadcast goes into one antenna)
2) Set fixed bssid on all nodes (to stop divergency)
3) rts and frag to off (in mesh mode rts has to be set but with madwifi is hard...)
4) set channel (random madwifi segmentation if omitted)
---> /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
5) in /etc/sysctl.conf (for "ath_mgtstart: discard, no xmit buf" problem)
vm.min_free_kbytes = 10000
6) for "ath_mgtstart: discard, no xmit buf" problem and ramping problem
$> iwpriv ath0 uapsd 0
7) to alleviate ramping problem (see http://madwifi.org/ticket/1154)
$> iwpriv ath0 bintval 1000
8) set fixed rate on wireless interface
$> iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1750
1749
2007-12-14T08:58:53Z
Dako
4
/* voici quelques conseils */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
carte a ne pas utiliser au mode ad-hoc
*senao
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
_quelques conseils:_
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
---> /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
5) in /etc/sysctl.conf (for "ath_mgtstart: discard, no xmit buf" problem)
vm.min_free_kbytes = 10000
6) for "ath_mgtstart: discard, no xmit buf" problem and ramping problem
$> iwpriv ath0 uapsd 0
7) to alleviate ramping problem (see http://madwifi.org/ticket/1154)
$> iwpriv ath0 bintval 1000
8) set fixed rate on wireless interface
$> iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1751
1750
2007-12-14T09:01:23Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
carte a ne pas utiliser au mode ad-hoc
*senao
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
_quelques conseils:_
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
---> /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
5) in /etc/sysctl.conf (for "ath_mgtstart: discard, no xmit buf" problem)
vm.min_free_kbytes = 10000
6) for "ath_mgtstart: discard, no xmit buf" problem and ramping problem
$> iwpriv ath0 uapsd 0
7) to alleviate ramping problem (see http://madwifi.org/ticket/1154)
$> iwpriv ath0 bintval 1000
8) set fixed rate on wireless interface
$> iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1752
1751
2007-12-14T09:15:49Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk====
ipkg update && ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/asterisk_1.2.16-1_i386.ipk
vous pouvez toujours modifier l adresse par une autre version presentes sur http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
un backport pour kamikaze et asterisk 1.45
src asterisk14 http://members.home.nl/hans.zandbelt/openwrt/kamikaze/packages/asterisk-1.4/x86
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
carte a ne pas utiliser au mode ad-hoc
*senao
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
_quelques conseils:_
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1753
1752
2007-12-14T09:18:32Z
Dako
4
/* asterisk */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
carte a ne pas utiliser au mode ad-hoc
*senao
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
_quelques conseils:_
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1754
1753
2007-12-14T09:19:45Z
Dako
4
/* divers conseils concernant le mode ad-hoc */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
carte a ne pas utiliser au mode ad-hoc
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
quelques conseils:
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1755
1754
2007-12-14T09:20:59Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
carte a ne pas utiliser au mode ad-hoc
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1756
1755
2007-12-14T09:21:31Z
Dako
4
/* divers conseils concernant le mode ad-hoc */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-07-21
--dako 2007-07-31
1757
1756
2007-12-14T09:22:25Z
Dako
4
/* mode ap et adhoc sur la meme interface */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé, nous allons rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1762
1757
2008-01-14T18:38:11Z
Dako
4
/* configurer */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
changer le mot de passe
#passwd
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
Test athctrl
0
1361
1724
2007-08-03T12:55:24Z
Dako
4
wikitext
text/x-wiki
un petit tableau comparatif sur une distance de 1.49 km entre une omni 12db (pas sur) avec 18db (de puissance d emission) sur la frequence 5.7
et de l autre coté nous avons une grid 24db avec 16db (de puissance d emission)
je lance une séquance de 50 ping et compare les donnée de bruit et de signal apres chanque modification de parametre de distance
on va faire le pire pour aller vers le mieux, en avancant par 100
1725
1724
2007-08-03T13:05:20Z
Dako
4
wikitext
text/x-wiki
un petit tableau comparatif sur une distance de 1.49 km entre une omni 12db (pas sur) avec 18db (de puissance d emission) sur la frequence 5.7
et de l autre coté nous avons une grid 24db avec 16db (de puissance d emission)
je lance une séquance de 50 ping et compare les donnée de bruit et de signal apres chanque modification de parametre de distance
on va faire le pire pour aller vers le mieux, en avancant par 100
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Test athctrl
| Link Quality
| rssi
| noise
| ping
|-
!athctrl -i wifi0 -d 1000
|yes
|yes
|yes
|yes
|-
!athctrl -i wifi0 -d 1500
|yes
|yes
|yes
|yes
|-
!athctrl -i wifi0 -d 2000
|Default value 0.05 sec
|
|
|
|-
!athctrl -i wifi0 -d 2500
|defaults to 0
|2
|
|
|-
!athctrl -i wifi0 -d 3000
| defaults to 1
| 7
|
|
|-
!athctrl -i wifi0 -d 3500
| x
| 1
|
|
|-
!athctrl -i wifi0 -d 4000
| x
| 100
|
|
|-
!athctrl -i wifi0 -d 4500
| x
| 0 9.0
|
|
|-
!athctrl -i wifi0 -d 5000
| 2
| 2
|
|
|-
!athctrl -i wifi0 -d 5500
| no
| no
|
|
|}
1726
1725
2007-08-03T13:26:39Z
Dako
4
wikitext
text/x-wiki
un petit tableau comparatif sur une distance de 1.49 km entre une omni 12db (pas sur) avec 18db (de puissance d emission) sur la frequence 5.7
et de l autre coté nous avons une grid 24db avec 16db (de puissance d emission)
je lance une séquance de 50 ping et compare les donnée de bruit et de signal apres chanque modification de parametre de distance
on va faire le pire pour aller vers le mieux, en avancant par 100
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Test athctrl
| Link Quality
| rssi
| noise
| ping
|-
!athctrl -i wifi0 -d 1000
| 21/70
| -65
| -86
| min/avg/max = 1.6/2.5/10.0 ms 22% packet loss
|-
!athctrl -i wifi0 -d 1500
| 20/70
| -67
| -87
| min/avg/max = 1.6/2.4/2.8 ms 46% packet loss
|-
!athctrl -i wifi0 -d 2000
| 21/70
| -66
| -87
| min/avg/max = 1.6/1.9/8.4 ms 0% packet loss
|-
!athctrl -i wifi0 -d 2500
| 20/70
| -67
| -87
| min/avg/max = 1.6/1.9/4.0 ms 0% packet loss
|-
!athctrl -i wifi0 -d 3000
|
|
|
|
|-
!athctrl -i wifi0 -d 3500
| x
| 1
|
|
|-
!athctrl -i wifi0 -d 4000
| x
| 100
|
|
|-
!athctrl -i wifi0 -d 4500
| x
| 0 9.0
|
|
|-
!athctrl -i wifi0 -d 5000
| 2
| 2
|
|
|-
!athctrl -i wifi0 -d 5500
| no
| no
|
|
|}
1727
1726
2007-08-03T14:01:17Z
Dako
4
wikitext
text/x-wiki
un petit tableau comparatif sur une distance de 1.49 km entre une omni 12db (pas sur) avec 18db (de puissance d emission) sur la frequence 5.7
et de l autre coté nous avons une grid 24db avec 16db (de puissance d emission)
je lance une séquance de 50 ping et compare les donnée de bruit et de signal apres chanque modification de parametre de distance
on va faire le pire pour aller vers le mieux, en avancant par 100
{| border="1" cellspacing="0" cellpadding="2" style="text-align: left;"
|Test athctrl
| Link Quality
| rssi
| noise
| ping
|-
!athctrl -i wifi0 -d 1000
| 21/70
| -65
| -86
| min/avg/max = 1.6/2.5/10.0 ms 22% packet loss
|-
!athctrl -i wifi0 -d 1500
| 20/70
| -67
| -87
| min/avg/max = 1.6/2.4/2.8 ms 46% packet loss
|-
!athctrl -i wifi0 -d 2000
| 21/70
| -66
| -87
| min/avg/max = 1.6/1.9/8.4 ms 0% packet loss
|-
!athctrl -i wifi0 -d 2500
| 20/70
| -67
| -87
| min/avg/max = 1.6/1.9/4.0 ms 0% packet loss
|-
!athctrl -i wifi0 -d 3000
| 20/70
| -67
| -87
| min/avg/max = 1.6/1.9/6.3 ms 0% packet loss
|-
!athctrl -i wifi0 -d 3500
| 20/70
| -66
| -86
| min/avg/max = 1.5/2.3/5.0 ms 6% packet loss
|-
!athctrl -i wifi0 -d 4000
| 17/70
| -70
| -87
| min/avg/max = 1.6/2.0/6.7 ms 44% packet loss
|-
!athctrl -i wifi0 -d 4500
| 11/70
| -76
| -87
| 100% packet loss
|-
|}
Main Page
0
1
1736
1606
2007-11-16T10:44:01Z
Dako
4
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Wrt Freinfunk]] comment migrer de openwrt a freifunk facilement.
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[Test Divers]]: some test and their results
* [[RcTools]]
* [[Kamikaze]] configurer kamikaze pour un wrap
* [[Asterisk]] pbx iax et autres
* [[RcNg]]
Wrt Freinfunk
0
1362
1737
2007-11-16T10:52:07Z
Dako
4
wikitext
text/x-wiki
cas de figure:
un wrt datant de wrt tournant toujours avec la version openwrt et olsr de l' époque
change tout le temps de cellule. que faire?
le firmware freifunk a une variable nvram "bssid=.." prevue.
j installe donc la derniere freifunk en date.
c est noeud difficile d acces. ( pas de tftp )
je telecharge donc le dernier .trx su le site downloads.berlin.freifunk.net
depuis le wrt:
wget -O /tmp/linux.trx http://adresse/du/dernier.trx
mtd unlock linux && mtd write linux.trx linux && reboot
et voili freifunk est la.
si vous avez un acces cable je vous conseille de tout remettre a zero et configurer par l interface http votre freifunk toute fraiche.
pour remettre les valeurs par default:
mtd unlock linux && mtd write linux.trx linux && reboot
1738
1737
2007-11-16T10:57:54Z
Dako
4
wikitext
text/x-wiki
===cas de figure:===
un wrt datant de wrt tournant toujours avec la version openwrt et olsr de l' époque
change tout le temps de cellule.\\
que faire?
le firmware freifunk a une variable nvram "bssid=.." prevue.
j installe donc la derniere freifunk en date.
c est noeud difficile d acces. ( pas de tftp )
je telecharge donc le dernier .trx su le site downloads.berlin.freifunk.net
===depuis le wrt:===
wget -O /tmp/linux.trx http://adresse/du/dernier.trx
mtd unlock linux && mtd write linux.trx linux && reboot
et voili freifunk est la.
si vous avez un acces cable je vous conseille de tout remettre a zero et configurer par l interface http votre freifunk toute fraiche.
===pour remettre les valeurs par default:===
mtd unlock linux && mtd write linux.trx linux && reboot
1739
1738
2007-11-16T10:58:28Z
Dako
4
/* cas de figure: */
wikitext
text/x-wiki
===cas de figure:===
un wrt datant de wrt tournant toujours avec la version openwrt et olsr de l' époque
change tout le temps de cellule.\\
que faire?
le firmware freifunk a une variable nvram "bssid=.." prevue.
j installe donc la derniere freifunk en date.
c est noeud difficile d acces. ( pas de tftp )
je telecharge donc le dernier .trx su le site http://downloads.berlin.freifunk.net
===depuis le wrt:===
wget -O /tmp/linux.trx http://adresse/du/dernier.trx
mtd unlock linux && mtd write linux.trx linux && reboot
et voili freifunk est la.
si vous avez un acces cable je vous conseille de tout remettre a zero et configurer par l interface http votre freifunk toute fraiche.
===pour remettre les valeurs par default:===
mtd unlock linux && mtd write linux.trx linux && reboot
1740
1739
2007-11-16T10:59:46Z
Dako
4
/* cas de figure: */
wikitext
text/x-wiki
===cas de figure:===
un wrt datant de wrt tournant toujours avec la version openwrt et olsr de l' époque
change tout le temps de cellule.
que faire?
le firmware freifunk a une variable nvram "bssid=.." prevue.
j installe donc la derniere freifunk en date.
* c est noeud difficile d acces. ( pas de tftp )
je telecharge donc le dernier .trx su le site http://downloads.berlin.freifunk.net
===depuis le wrt:===
wget -O /tmp/linux.trx http://adresse/du/dernier.trx
mtd unlock linux && mtd write linux.trx linux && reboot
et voili freifunk est la.
si vous avez un acces cable je vous conseille de tout remettre a zero et configurer par l interface http votre freifunk toute fraiche.
===pour remettre les valeurs par default:===
mtd unlock linux && mtd write linux.trx linux && reboot
1741
1740
2007-11-16T11:01:09Z
Dako
4
wikitext
text/x-wiki
===cas de figure:===
un wrt datant de wrt tournant toujours avec la version openwrt et olsr de l' époque
change tout le temps de cellule.
que faire?
le firmware freifunk a une variable nvram "bssid=.." prevue.
j installe donc la derniere freifunk en date.
* c est noeud difficile d acces. ( pas de tftp )
je telecharge donc le dernier .trx su le site http://downloads.berlin.freifunk.net
===depuis le wrt:===
wget -O /tmp/linux.trx http://adresse/du/dernier.trx
mtd unlock linux && mtd write linux.trx linux && reboot
et voili freifunk est la.
si vous avez un acces cable je vous conseille de tout remettre a zero et configurer par l interface http votre freifunk toute fraiche.
===pour remettre les valeurs par default:===
mtd unlock linux && mtd write linux.trx linux && reboot
--dako 2007-11-16
1758
1741
2007-12-20T20:26:59Z
Dako
4
w
wikitext
text/x-wiki
===cas de figure:===
un wrt datant de wrt tournant toujours avec la version openwrt et olsr de l' époque
change tout le temps de cellule.
que faire?
le firmware freifunk a une variable nvram "bssid=.." prevue.
j installe donc la derniere freifunk en date.
* c est noeud difficile d acces. ( pas de tftp )
je telecharge donc le dernier .trx su le site http://downloads.berlin.freifunk.net
===depuis le wrt:===
wget -O /tmp/linux.trx http://adresse/du/dernier.trx
mtd unlock linux && mtd write linux.trx linux && reboot
et voili freifunk est la.
si vous avez un acces cable je vous conseille de tout remettre a zero et configurer par l interface http votre freifunk toute fraiche.
==Problème récurant==
* j' ai plus acces a la partie administration de l'interface web !
#nvram set ff_unsecure_webadmin=1
#nvram commit
* les regles de port forwarding ne sont plus appliquée
#ipkg install freifunk-portfw-fr
#reboot
(les variables sont toujours dans la nvram tout redeviendra comme avant apre le reboot )
===pour remettre les valeurs par default:===
mtd unlock linux && mtd write linux.trx linux && reboot
--dako 2007-11-16
1759
1758
2007-12-20T20:28:29Z
Dako
4
/* Problème récurant */
wikitext
text/x-wiki
===cas de figure:===
un wrt datant de wrt tournant toujours avec la version openwrt et olsr de l' époque
change tout le temps de cellule.
que faire?
le firmware freifunk a une variable nvram "bssid=.." prevue.
j installe donc la derniere freifunk en date.
* c est noeud difficile d acces. ( pas de tftp )
je telecharge donc le dernier .trx su le site http://downloads.berlin.freifunk.net
===depuis le wrt:===
wget -O /tmp/linux.trx http://adresse/du/dernier.trx
mtd unlock linux && mtd write linux.trx linux && reboot
et voili freifunk est la.
si vous avez un acces cable je vous conseille de tout remettre a zero et configurer par l interface http votre freifunk toute fraiche.
==Problème récurant==
* j' ai plus acces a la partie administration de l'interface web de l' exterieur de mon reseau local !
#nvram set ff_unsecure_webadmin=1
#nvram commit
* les regles de port forwarding ne sont plus appliquée
#ipkg install freifunk-portfw-fr
#reboot
(les variables sont toujours dans la nvram tout redeviendra comme avant apre le reboot )
===pour remettre les valeurs par default:===
mtd unlock linux && mtd write linux.trx linux && reboot
--dako 2007-11-16
1760
1759
2007-12-20T20:29:53Z
Dako
4
/* cas de figure: */
wikitext
text/x-wiki
===cas de figure:===
un wrt datant de wrt tournant toujours avec la version openwrt et olsr de l' époque
change tout le temps de cellule.
que faire?
le firmware freifunk a une variable nvram "bssid=.." prevue.
j installe donc la derniere freifunk en date.
* c est noeud difficile d acces. ( pas de tftp )
je telecharge donc le dernier .trx su le site http://ipkg.berlin.freifunk.net/_trx/
===depuis le wrt:===
wget -O /tmp/linux.trx http://adresse/du/dernier.trx
mtd unlock linux && mtd write linux.trx linux && reboot
et voili freifunk est la.
si vous avez un acces cable je vous conseille de tout remettre a zero et configurer par l interface http votre freifunk toute fraiche.
==Problème récurant==
* j' ai plus acces a la partie administration de l'interface web de l' exterieur de mon reseau local !
#nvram set ff_unsecure_webadmin=1
#nvram commit
* les regles de port forwarding ne sont plus appliquée
#ipkg install freifunk-portfw-fr
#reboot
(les variables sont toujours dans la nvram tout redeviendra comme avant apre le reboot )
===pour remettre les valeurs par default:===
mtd unlock linux && mtd write linux.trx linux && reboot
--dako 2007-11-16
1761
1760
2007-12-20T20:32:13Z
Dako
4
/* Problème récurant */
wikitext
text/x-wiki
===cas de figure:===
un wrt datant de wrt tournant toujours avec la version openwrt et olsr de l' époque
change tout le temps de cellule.
que faire?
le firmware freifunk a une variable nvram "bssid=.." prevue.
j installe donc la derniere freifunk en date.
* c est noeud difficile d acces. ( pas de tftp )
je telecharge donc le dernier .trx su le site http://ipkg.berlin.freifunk.net/_trx/
===depuis le wrt:===
wget -O /tmp/linux.trx http://adresse/du/dernier.trx
mtd unlock linux && mtd write linux.trx linux && reboot
et voili freifunk est la.
si vous avez un acces cable je vous conseille de tout remettre a zero et configurer par l interface http votre freifunk toute fraiche.
==Problème récurant==
* je n'ai plus accès à la partie administration de l'interface web de l'exterieur de mon réseau local !
#nvram set ff_unsecure_webadmin=1
#nvram commit
* les règles de transfert de port ne sont plus appliquées
#ipkg install freifunk-portfw-fr
#reboot
(les variables sont toujours dans la nvram tout redeviendra comme avant après le reboot )
===pour remettre les valeurs par default:===
mtd unlock linux && mtd write linux.trx linux && reboot
--dako 2007-11-16
Gestion P&V
0
1332
1743
1499
2007-12-11T15:12:57Z
Dako
4
wikitext
text/x-wiki
node-archive: [[petvold]]
1745
1743
2007-12-11T15:24:38Z
Dako
4
wikitext
text/x-wiki
node-archive: [[petvold]]
news: petv est remplacé par un wrap ( le bac est tout caput et le disque dur du pc est kaput aussi )
== p&v ==
*distribution
openwrt kamikaze 7.09
*ip ath0:
root@petvwrap:~# ifconfig ath0
ath0 Link encap:Ethernet HWaddr 06:0B:6B:36:FA:A0
inet addr:10.93.1.2 Bcast:10.93.1.255 Mask:255.255.255.0
*ip ath1:
root@petvwrap:~# ifconfig ath1
ath1 Link encap:Ethernet HWaddr 06:0C:42:0C:0F:7D
inet addr:10.93.0.33 Bcast:10.93.0.63 Mask:255.255.255.224
*version olsr:
*** olsr.org - 0.5.3 ***
Build date: Sep 30 2007
http://www.olsr.org
*hardware:
wrap dans une boite legrang adaptée par ivan
root@petvwrap:~# cat /proc/cpuinfo
processor : 0
vendor_id : Geode by NSC
cpu family : 5
model : 9
model name : Unknown
stepping : 1
cpu MHz : 266.668
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu tsc msr cx8 cmov mmx cxmmx
bogomips : 534.06
clflush size : 32
root@petvwrap:~# free
total used free shared buffers
Mem: 127556 7384 120172 0 148
Swap: 0 0 0
Total: 127556 7384 120172
root@petvwrap:~# lspci
...
00:0d.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
00:11.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
...
fichier d conf
/etc/config/wireless
root@petvwrap:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option network ath0
option mode adhoc
option ssid bombolong
option encryption none
option bssid ca:fe:ca:fe:ca:fe
option txpower '18'
config wifi-device wifi1
option type atheros
option channel 11
option agmode 11bg
option disabled 0
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi1
option network ath1
option mode adhoc
option ssid petv2rmolen
option bssid 09:e2:2e:20:1b:2e
option encryption none
option txpower '18'
1746
1745
2007-12-11T15:26:38Z
Dako
4
wikitext
text/x-wiki
node-archive: [[petvold]]
news: petv est remplacé par un wrap ( le bac est tout caput et le disque dur du pc est kaput aussi )
== p&v ==
*distribution
openwrt kamikaze 7.09
*ip ath0:
root@petvwrap:~# ifconfig ath0
ath0 Link encap:Ethernet HWaddr 06:0B:6B:36:FA:A0
inet addr:10.93.1.2 Bcast:10.93.1.255 Mask:255.255.255.0
*ip ath1:
root@petvwrap:~# ifconfig ath1
ath1 Link encap:Ethernet HWaddr 06:0C:42:0C:0F:7D
inet addr:10.93.0.33 Bcast:10.93.0.63 Mask:255.255.255.224
*ip eth0:192.168.0.120
*ip eth1(wan):00:0D:B9:01:9C:D9
*version olsr:
*** olsr.org - 0.5.3 ***
Build date: Sep 30 2007
http://www.olsr.org
*hardware:
wrap dans une boite legrang adaptée par ivan
root@petvwrap:~# cat /proc/cpuinfo
processor : 0
vendor_id : Geode by NSC
cpu family : 5
model : 9
model name : Unknown
stepping : 1
cpu MHz : 266.668
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu tsc msr cx8 cmov mmx cxmmx
bogomips : 534.06
clflush size : 32
root@petvwrap:~# free
total used free shared buffers
Mem: 127556 7384 120172 0 148
Swap: 0 0 0
Total: 127556 7384 120172
root@petvwrap:~# lspci
...
00:0d.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
00:11.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
...
fichier d conf
/etc/config/wireless
root@petvwrap:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option network ath0
option mode adhoc
option ssid bombolong
option encryption none
option bssid ca:fe:ca:fe:ca:fe
option txpower '18'
config wifi-device wifi1
option type atheros
option channel 11
option agmode 11bg
option disabled 0
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi1
option network ath1
option mode adhoc
option ssid petv2rmolen
option bssid 09:e2:2e:20:1b:2e
option encryption none
option txpower '18'
Petvold
0
1363
1744
2007-12-11T15:13:06Z
Dako
4
wikitext
text/x-wiki
== p&v ==
*distribution
Debian GNU/Linux Sarge
*ip wlan0: 10.34.43.155
*ip wlan1: 192.168.n.n
*version olsr:
*** olsr.org - 0.4.9 ***
Build date: Apr 4 2005
http://www.olsr.org
*hardware:
vieux p2 dans une boite en plastique
petv:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 0
cpu MHz : 300.687
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 599.65
petv:~# free
total used free shared buffers cached
Mem: 127304 120952 6352 0 29620 34236
-/+ buffers/cache: 57096 70208
Swap: 120448 4496 115952
petv:~# cardctl ident
Socket 0:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Socket 1:
product info: "Avaya Communication", "Avaya Wireless PC Card", "Version 01.01", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Kamikaze
0
1350
1763
1762
2008-01-14T18:38:52Z
Dako
4
/* info-wrap */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1764
1763
2008-01-14T18:39:07Z
Dako
4
/* configurer */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1765
1764
2008-01-25T12:41:06Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1766
1765
2008-01-25T14:54:15Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
== red boot serait deja ==
'''activé.'''
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1767
1766
2008-01-25T14:59:20Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38|ap51-flash] (la version a l'heure de lécriture de cette doc est 0.38)
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1768
1767
2008-01-25T15:00:07Z
Dako
4
/* reflasher facilement une fonera avec ap51-flash-fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38|ap51-flash] (la version a l'heure de lécriture de cette doc est 0.38)
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1769
1768
2008-01-25T15:00:46Z
Dako
4
/* reflasher facilement une fonera avec ap51-flash-fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* [ap51-flash|http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1770
1769
2008-01-25T15:09:48Z
Dako
4
/* reflasher facilement une fonera avec ap51-flash-fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1771
1770
2008-01-25T15:15:55Z
Dako
4
/* reflasher facilement une fonera avec ap51-flash-fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
$ sudo ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1772
1771
2008-01-25T15:26:24Z
Dako
4
/* reflasher facilement une fonera avec ap51-flash-fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1773
1772
2008-01-25T15:36:46Z
Dako
4
/* network */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1774
1773
2008-01-25T15:37:52Z
Dako
4
/* network */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> load -r -v -b 0x80040450 kamikaze.root
RedBoot> fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs
prend un certain temps (plus de 10 minutes)
RedBoot> load -r -b %{FREEMEMLO} kamikaze.kernel
RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7
RedBoot> fis load -l vmlinux.bin.l7
finaliser en tapant exec
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1775
1774
2008-01-25T17:44:23Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install tftpd-hpa
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.root
wget http://10.93.0.33/rc/fonera/tftpboot/kamikaze.kernel
cp kamikaze.root kamikaze.kernel /var/lib/tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite (en adaptant la valeur)
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
RedBoot> fi cr -l 0x'''6F0000''' rootfs
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1776
1775
2008-01-25T17:51:39Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1778
1776
2008-01-26T18:44:07Z
Dako
4
/* config avancée */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
----
''
* dans /etc/sysctl.conf (pour le probleme: "ath_mgtstart: discard, no xmit buf")
vm.min_free_kbytes = 10000''
----
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1779
1778
2008-01-26T20:46:40Z
Dako
4
/* quelques conseils: */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1780
1779
2008-01-26T20:49:25Z
Dako
4
/* reflasher facilement une fonera avec ap51-flash-fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
les paramètres ips sont a rajouter dans /etc/config/network
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1781
1780
2008-01-26T20:56:39Z
Dako
4
/* configurer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
--dako 2007-12-14
1782
1781
2008-01-28T13:35:54Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1783
1782
2008-01-28T13:42:49Z
Dako
4
/* mode ap et adhoc sur la meme interface */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel '1'
option agmode 11b
# option diversity 1
# option txantenna 0
# option rxantenna 0
# option distance 2000
# disable radio to prevent an open ap after reflashing:
option disabled '0'
#
config wifi-iface
option device wifi0
option network wlan
option mode 'adhoc'
option ssid 'bombolong'
option hidden 0
# option txpower 15
# option bgscan enable
option encryption none
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1784
1783
2008-01-28T13:44:27Z
Dako
4
/* wireless */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1785
1784
2008-02-01T12:59:35Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
nous allons ensuite rajouter une ligne a ipkg.conf qui nous permettra d obtenir olsrd 5.0-unoficial
(ceci est une étape facultative et riquée pour ne pas prendre de risque tenez vous en au repositories officielle de kamikaze)
editez le fichier /etc/ipkg.conf a l aide de vi
#vi /etc/ipkg.conf
arrangez-vous pour qu il ressemble a ceci:
src opennet http://www.opennet-initiative.de/firmware/kamikaze/kamikaze-x86-mathias/packages
src snapshots http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/packages
dest root /
dest ram /tmp
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1786
1785
2008-02-06T14:58:56Z
Dako
4
/* configurer */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.07/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
====olsr====
installer olsr
#ipkg install olsrd
configurer olsr
editer /etc/olsrd.conf
et verifiez que l hsteresis est bien désactive
(en effet il faut choisir entre deuc systeme etx ou hysteresis et par expérience nous utilisons etx)
...
UseHysteresis no
...
#HystScaling 0.50
#HystThrHigh 0.80
#HystThrLow 0.30
configurez les interfaces sur lesquels vous voulez activez olsr.
...
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "ath0" "eth1"
...
activer olsrd au demarrage
il suffit de creer un lien symbolique dans /etc/rc.d/olsrd qui pointe vers le script creer lors de l installation qui se trouve dans /etc/init.d/
root@rmolen5g:~# ln -s /etc/init.d/olsrd /etc/rc.d/S43olsrd
un petit redemarage
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test eont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1787
1786
2008-02-06T15:05:13Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.09/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
=====Olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test sont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1788
1787
2008-02-06T15:08:18Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-alix=====
les drivers ethernet ne sont pas pesent dans l'image de base openwrt il faut donc soit les copier sur la CF
et a l aide d un cable serie les installer
soit compiler a l aide du target "alix" present dans la version svn actuelle.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.09/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
=====Olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test sont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1789
1788
2008-02-08T10:42:12Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-alix=====
les drivers ethernet ne sont pas pesent dans l'image de base openwrt il faut donc soit les copier sur la CF
et a l aide d un cable serie les installer
soit compiler a l aide du target "alix" present dans la version svn actuelle.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.09/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
=====Olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
====support ipv6====
#ipkg update && ipkg install kmod-ipv6 radvd ip kmod-ip6tables ip6tables
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test sont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1802
1789
2008-12-10T23:19:47Z
Dako
4
/* info-alix */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-alix=====
les drivers ethernet ne sont pas pesent dans l'image de base openwrt.
il faut donc installer kmod-via-rhine sans carte réseau :)
il faut donc soit les copier sur la CF
et a l aide d un cable serie les installer
soit compiler a l aide du target "alix" present dans la version svn actuelle.
afin que les drivers soient déja présent après le flashage.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.09/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
=====Olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
====support ipv6====
#ipkg update && ipkg install kmod-ipv6 radvd ip kmod-ip6tables ip6tables
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test sont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1803
1802
2008-12-20T21:20:52Z
Dako
4
/* installer openwrt kamikaze pour fonera */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-alix=====
les drivers ethernet ne sont pas pesent dans l'image de base openwrt.
il faut donc installer kmod-via-rhine sans carte réseau :)
il faut donc soit les copier sur la CF
et a l aide d un cable serie les installer
soit compiler a l aide du target "alix" present dans la version svn actuelle.
afin que les drivers soient déja présent après le flashage.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.09/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
=====Olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
====support ipv6====
#ipkg update && ipkg install kmod-ipv6 radvd ip kmod-ip6tables ip6tables
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test sont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
pour utiliser une autre fonera pour se connecter en port série ( si l'on a pas la puce max323)
http://www.jopa.fr/index.php/2008/10/04/acceder-au-port-console-de-la-fonera-depuis-une-autre-fonera/
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
Main Page
0
1
1777
1736
2008-01-26T18:40:12Z
Dako
4
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Wrt Freinfunk]] comment migrer de openwrt a freifunk facilement.
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[Test Divers]]: some test and their results
* [[RcTools]]
* [[Kamikaze]] configurer kamikaze pour un wrap et fonera
* [[Asterisk]] pbx iax et autres
* [[RcNg]]
RcNg
0
1353
1790
1696
2008-02-28T13:19:26Z
Dako
4
wikitext
text/x-wiki
===Todo===
* [[olsr.conf]] generique
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
* un systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
* fonera easy rcflash :) [[foneraxprmntl]]
* une page claire qui explique l adressage ip. [[attributionsIp]]
* [[avahi]]
===do===
* [[rcng.olsr.conf]]
* un bon tuto pour kamikaze (soekris,alix,wrap,fonera)
1791
1790
2008-02-28T13:20:46Z
Dako
4
wikitext
text/x-wiki
===Todo===
* [[olsr.conf]] generique
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc
* un systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
* fonera easy rcflash :) [[foneraxprmntl]]
* une page claire qui explique l adressage ip. [[attributionsIp]]
* [[avahi]]
===do===
* [[rcng.olsr.conf]]
* [[Kamikaze]] un bon tuto pour kamikaze (soekris,alix,wrap,fonera)
1811
1791
2009-01-06T08:35:56Z
Dako
4
wikitext
text/x-wiki
===do===
* [[rcng.olsr.conf]] ( la page de brouillon est [[olsr.conf]]
* [[Kamikaze]] un bon tuto pour kamikaze (soekris,alix,wrap,fonera)
* les ip's sont centralisées [http://reseaucitoyen.be/wiki/index.php/Proposition_de_solidification_d%27un_mesh_et_passage_%C3%A0_un_r%C3%A9seau_utilisable ici] ( un backup est copié en local a la page [[Structure_actuelle_du_reseau]] et un autre backup est présent sur le site de wireless antwerpen [http://www.wirelessbelgie.be/reseau_citoyen.htm hier])
===Todo===
*tuto configurer freifunk pour rc
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc (disponible sur demande a dako ar0b4sse lecurie.org
* un meilleur systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
mais l'ip6 semble prêt nous presque mais là il faudra de l'aide.
* une page claire qui explique l adressage ip. [[attributionsIp]]
* [[avahi]] (pourait servir vu qu' il a l'air d'évoluer) a connecter des gens hors rc sans trop de problème d' attribution d'ip.
1812
1811
2009-01-06T08:36:25Z
Dako
4
wikitext
text/x-wiki
===do===
* [[rcng.olsr.conf]] ( la page de brouillon est [[olsr.conf]])
* [[Kamikaze]] un bon tuto pour kamikaze (soekris,alix,wrap,fonera)
* les ip's sont centralisées [http://reseaucitoyen.be/wiki/index.php/Proposition_de_solidification_d%27un_mesh_et_passage_%C3%A0_un_r%C3%A9seau_utilisable ici] ( un backup est copié en local a la page [[Structure_actuelle_du_reseau]] et un autre backup est présent sur le site de wireless antwerpen [http://www.wirelessbelgie.be/reseau_citoyen.htm hier])
===Todo===
*tuto configurer freifunk pour rc
* repositories avec des paquets precompilés des versions a jour d [[olsrd]] voir http://open-mesh.net/optimized-link-state-routing-deamon
* une image kamikaze preconfiguré pour rc (disponible sur demande a dako ar0b4sse lecurie.org
* un meilleur systeme de gestion des ips ( pour l instant il y a un [[fichiershostsrc]]
mais l'ip6 semble prêt nous presque mais là il faudra de l'aide.
* une page claire qui explique l adressage ip. [[attributionsIp]]
* [[avahi]] (pourait servir vu qu' il a l'air d'évoluer) a connecter des gens hors rc sans trop de problème d' attribution d'ip.
Rcng.olsr.conf
0
1364
1792
2008-02-28T13:22:00Z
Dako
4
wikitext
text/x-wiki
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
1793
1792
2008-02-28T13:26:49Z
Dako
4
wikitext
text/x-wiki
====la base====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====les plugins====
===httpinfo===
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "Net" "10.0.0.0 255.0.0.0"
===hna===
Hna4
{
0.0.0.0 0.0.0.0
}
===dotdraw===
===nameservice===
1794
1793
2008-02-28T13:27:16Z
Dako
4
wikitext
text/x-wiki
====la base====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====les plugins====
===httpinfo===
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "Net" "10.0.0.0 255.0.0.0"
===hna===
Hna4
{
0.0.0.0 0.0.0.0
}
===dotdraw===
===nameservice===
1795
1794
2008-02-28T13:28:53Z
Dako
4
wikitext
text/x-wiki
====la base====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====les plugins====
===httpinfo===
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "Net" "10.0.0.0 255.0.0.0"
}
===hna===
Hna4
{
0.0.0.0 0.0.0.0
}
===dotdraw===
===nameservice===
1796
1795
2008-02-28T13:31:13Z
Dako
4
wikitext
text/x-wiki
====la base====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====les plugins====
===httpinfo===
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "Net" "10.0.0.0 255.0.0.0"
}
===hna===
Hna4
{
0.0.0.0 0.0.0.0
}
===dotdraw===
===nameservice===
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
1797
1796
2008-02-28T13:33:03Z
Dako
4
wikitext
text/x-wiki
====la base====
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "eth1"
{
}
====les plugins====
===httpinfo===
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "Net" "10.0.0.0 255.0.0.0"
}
===hna===
Hna4
{
0.0.0.0 0.0.0.0
}
!! attention cet exemple de config hna vous annonce comme une passerelle vers l internet.
===dotdraw===
===nameservice===
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
Gestion RéseauCitoyen
0
1311
1798
1527
2008-12-05T21:45:49Z
Dako
4
wikitext
text/x-wiki
= Journaux d'intervention en Ligne =
- [[structure actuelle du reseau]](2008-12-05)
Journaux d'interventions de noeuds [http://reseaucitoyen.be ReseauCitoyen] disponibles sur ce wiki:
* [[Gestion Josaphat]]
* [[Gestion Panik]]
* [[Gestion Divers]] (interventions sur des noeuds en test)
* [[Gestion Okno]]
* [[Gestion P&V]]
* [[Gestion PointDom]]
* [[Gestion Amalia]]
* [[Gestion Matinal]]
[[Category:Opération Panik]]
[[Category:Gestion RéseauCitoyen]]
Structure actuelle du reseau
0
1365
1799
2008-12-05T21:54:56Z
Dako
4
wikitext
text/x-wiki
= Address Plan =
=== Besoins ===
Voici les differents besoins identifiés:
* Configuration aisée des clients. (DHCP)
* Reseau de management comprenant tout les noeuds principaux.
* Petits sous-réseaux permettant l'interconnexion et le routage aisé de deux nodes ou plus.
* Pouvoir facilement interconnecter deux nodes via une connexion filaire afin de consommer moins de bande passante sans fil. (Interconnexion de deux nodes)
* DNS dans le réseau citoyen ? (preconisation de r-c.be pour le DNS interne, c'est plus court que reseaucitoyen.be :p)
=== Terminologie ===
* Management Network: Réseau composé uniquement des équipements réseaux (WRT, Routeurs, ...).
* Node Network: Réseau associé a une node en particulier, plus la node est populaire, plus le réseau sera grand. (/28, /27, /24)
* Peering Network: Réseau sous découpé en petit réseaux pouvant être réservés au cas par cas pour l'interconnexion et le routage aisé de deux nodes ou plus.
=== Concrêtement ===
Concrêtement, le réseau général de la ville (/16) sera composé d'une part d'un réseau moyen (/24) dédié a l'administration des équipements réseaux et d'autre part de petit sous-réseaux (/24, /27) découpés en fonction de la popularité et de l'importance du noeud sur lequel il sera utilisé.
Dans chaque "Access Network", un server DHCP pourra être mis en place par le mainteneur de ce noeud. Toutefois, on veillera a n'utiliser qu'un serveur DHCP par réseau. Par convention, on installera celui-ci sur la dernière IP disponible du réseau concerné. (souvent .254)
Aucun DHCP ne sera présent dans le Management Network et la réservation des ip de celui-ci s'effectuera via une page wiki référencée sur cette même page.
Avec cette segmentation, l'ajout d'un DNS global et hierarchique peut être facilement envisagé:
* lg.r-c.be: dns principal de liège.
** kennedy.lg.r-c.be: noeud kennedy.
** longdoz.lg.r-c.be: noeud longdoz.
** etc...
* De la même manière un reverse dns est envisageable...
* Une décentralisation maximale de ces DNS est a prévoir...
== Pratique ==
=== Les sous-reseaux ===
ReseauCitoyen 10.91.0.0/16 /27 Peerings (Routing)? FUTUR
ReseauCitoyen 10.93.0.0/16 /27 Omnis (Usage) UTILISE
ReseauCitoyen 10.94.0.0/16 /27 Omnis (Usage) FUTUR
ReseauCitoyen 10.95.0.0/16 /27 Omnis (Usage) FUTUR
Detached 10.97.0.0/16 /24 http://www.detached.be joris@linux.be Stefan:Doesn't exist anymore
WirelessAntwerpen 10.98.0.0/16 /24 http://www.wirelessantwerpen.be info@wirelessantwerpen.be
WirelessCity 10.99.0.0/16 /24 http://www.wireless-city.be info@wireless-city.be
= Les IPs =
( Voir pour merger ici la page: [[RCF]] )
il est bien sur logique de completer cette page avant de migrer et non après
== Bruxelles,Brussel ==
* 10.93.0.0/16 Brussels' main network.
===Pour les OMNI channel1 essid bombolong un /22 devrait suffire en attendant===
dans un second temps il serait envisageable d' utiliser des outils comme [[ZeroConf|avahi,apipa,zeroconf,bonjour,...]]
on en discutera.
Il serait mieux de mettre les omnis dans une /22 allouee a la fin de la /16 de ReseauCitoyen:
Netmask: 255.255.252.0 = 22
Network: 10.93.252.0/22 !00001010.01011101.111111 00.00000000
HostMin: 10.93.252.1 !00001010.01011101.111111 00.00000001
HostMax: 10.93.255.254 !00001010.01011101.111111 11.11111110
Broadcast: 10.93.255.255 !00001010.01011101.111111 11.11111111
Hosts/Net: 1022 Class A, Private Internet
Configuration actuelle très très très temporaire/instable ... : à corriger au fur et à mesure des changements svp :
** 10.93.1.0/24 channel1 essid bombolong (G Omni).
*** 10.93.1.1 josaphat Omni 2.4
*** 10.93.252.2 PeTv connecte a la rue de molenbeek newreal amalia
*** 10.93.252.3 Atelier ( rue de molenbeek ) mac:00:0f:66:c8:ac:c8
*** 10.93.1.4 Matinal
*** 10.93.252.5 Amalia
*** 10.93.1.6 Newreal
*** 10.93.1.7 atelier-bis
*** 10.93.1.8 Newreal bis
*** 10.93.1.9 ChienVert
*** 10.93.252.10 LaekenStation mac:00:16:b6:d9:44:61
*** 10.93.252.11 Olme
*** 10.93.1.12 botatv ( Boulevard Saint Lazarre 1210 Saint Josse | rubber duck 7dbi)
*** 10.93.1.13 denswrt
*** 10.93.1.14 panik mac:06:18:84:19:3B:95 lan:192.168.1.14 (f0n)
*** 10.93.1.15 bossuet
*** 10.93.1.16 ivan
*** 10.93.1.17 madou
*** 10.93.1.18 ministere
*** 10.93.1.19 okno mac:00:02:6f:36:8e:82
*** 10.93.1.20 pointdom
*** 10.93.1.21 philantropie
*** 10.93.1.22 bulles
*** 10.93.1.23 so-on (A.M.)
*** 10.93.1.24 svenontheroof
*** 10.93.1.25 svenwrt
*** 10.93.1.26 wlhdd (travelnode)
*** 10.93.1.27 wl500g
*** 10.93.1.28 aumale
*** 10.93.1.29 ruedemerode
*** 10.93.1.30 fontainas
*** 10.93.1.31 imke
*** 10.93.1.32 imke2
*** 10.93.1.33 botatv2 (omni 7dbi + usb)
*** 10.93.1.34 leysin
*** 10.93.1.35 hotel
*** 10.93.1.36 sourcenode
*** 10.93.1.37 clementine
*** 10.93.1.38 Morgiver
*** 10.93.1.39 bombofon39
*** 10.93.1.40 bombofon40
*** 10.93.1.41 oldRCwrtFirmware
*** 10.93.1.42 inconnumais dans les routes
*** 10.93.1.43 desmeth
*** 10.93.1.44 washington
*** 10.93.1.45 philT
*** 10.93.1.46 bombofon46OK
*** 10.93.1.47 bombofon47OK
*** 10.93.1.48 bombofon48OK
*** 10.93.1.49 bombofon49OK
*** 10.93.1.50 bombofon50OK
*** 10.93.1.51 bombofon51OK
*** 10.93.1.52 bombofon52OK
*** 10.93.1.53 bombofon53OK
*** 10.93.1.54 ViaducV2
*** 10.93.1.55 botafon
*** 10.93.1.56 hottat
*** 10.93.252.57 cheypas-bombolong
*** 10.93.1.58 samuxl
*** 10.93.1.59 noone
*** 10.93.1.60 Batman
*** 10.93.1.61 SaidD-point_back
*** 10.93.1.62 SaidD-point_back02
*** 10.93.1.63 SaidD-point_back03
*** 10.93.1.64 SaidD-wrt
*** 10.93.1.65 fonerapotagere mac:
*** 10.93.1.66 Pbook
*** 10.93.1.67 WAP54G
*** 10.93.1.68 manoubombolong
*** 10.93.1.69 fon7.09test
*** 10.93.1.70 wrtrctester mac:
*** 10.93.1.71 wrtsanslan mac:00:0F:66:A0:F9:57
*** 10.93.1.72 elisa
*** 10.93.1.73 interface3 mac:00:14:BF:C4:EF:27
*** 10.93.1.74 radiophonics'brigitinnesnodes'
*** 10.93.1.75 limite
*** 10.93.1.76 minfin
*** 10.93.1.77 haltebus
*** 10.93.1.78 potagerad-hocwrt mac: 00:14:BF:C4:D1:45
*** 10.93.1.79 lahaag-flyonthewall
*** 10.93.1.80 berthelot ( forest )
*** 10.93.1.81 wlhmd-cam1 (okno)
*** 10.93.1.82 wlhmd-cam2 (okno)
*** 10.93.1.83 wlhmd-ard1 (okno)
*** 10.93.1.84 wlhmd-ezstream (okno)
*** 10.93.1.85 wlhmd (okno)
*** 10.93.1.86 wlhmd (okno)
*** 10.93.1.87 lahaag-2
*** 10.93.1.88 PEL46
*** 10.93.1.89 wlhmd-89 (okno)
*** 10.93.1.90 wlhmd-90 (okno)
*** 10.93.1.91 wlhmd-91 (okno)
*** 10.93.1.92 side-laptop
*** 10.93.1.93 edwin
*** 10.93.1.94 Olli
*** 10.93.1.95 pouleNoire
*** 10.93.1.96 newWRT
*** 10.93.1.97 wlhmd-97 (okno)
*** 10.93.1.98 wlhmd-98 (okno)
*** 10.93.1.99 wlhmd-99 (okno)
*** 10.93.1.100 aGS
*** 10.93.1.101 [[Utilisateur:Juego|Juego]]
*** 10.93.1.102 [[Utilisateur:Juego|Juego]]
*** 10.93.1.103 InstitutStJoseph
*** 10.93.1.104 ERG1
*** 10.93.1.105 ERG2
*** 10.93.1.106 ERG3
*** 10.93.1.107 bowrt
*** 10.93.1.111 Okno-in
*** 10.93.1.124 SvenPhone
*** 10.93.1.145 philTmobile
===Pour les renfort en 5ghz et 2.4ghz===
** 10.93.0.0/27 Cheypas
*** 10.93.0.2 chokotoff
*** 10.93.0.3 petv2cheypas
** 10.93.0.32/27 PeTv
*** 10.93.0.33 petvwepch11
*** 10.93.0.34 rmolenwepch11
*** 10.93.0.35 Cheypas (G Yagi)
** 10.93.0.64/27 Rmolen lan inter-nodes
*** 10.93.0.65 Rmolen5g-lan
*** 10.93.0.66 Rmolench1-lan
*** 10.93.0.67 Rmolench1bis-lan
*** 10.93.0.68 rmolench11-lan
*** 10.93.0.69 sipcli-lan
*** 10.93.0.70 sip2cli-lan
*** 10.93.0.71 bombofon39lan
*** 10.93.0.72 bmobofon40lan
*** 10.93.0.73 rttserverasterisk
** 10.93.0.96/27 5ghz josaphatmaster (Netmask: 255.255.255.224, Broadcast: 10.93.0.127)
*** 10.93.0.97 5ghz josaphatmaster
*** 10.93.0.98 5ghz rmolen
*** 10.93.0.99 5ghz madou
*** 10.93.0.100 5ghz chazal
*** 10.93.0.101 5ghz okno
*** 10.93.0.102 5ghz amalia
*** 10.93.0.103 5ghz cheypas5g
*** 10.93.0.112 5ghz cheypaspasasage (il a pas respecté la regle ououou)
** 10.93.0.128/27 pointdomlan
*** 10.93.0.129 pointdomchan1lan
*** 10.93.0.130 pointdomchan11lan
** 10.93.0.160/27 lan amalia
*** 10.93.0.161 lan-2.4ghz
*** 10.93.0.162 lan-5ghz
** 10.93.0.192/27 rmolen5gtest
*** 10.93.0.193
** 10.93.0.224/28 potagere
*** 10.93.0.225 antenne
*** 10.93.0.226 sipclient
** 10.93.0.240/28 ministere
*** 10.93.0.241 antenne
*** 10.93.0.242 sipserver
*** 10.93.0.243 sipclient
!!!un trou dans les addresse en attendant que le channel1 passe en .252.0/22
** 10.93.2.0/28 josaphatlan
*** 10.93.2.1 josaphat lan5ghz
*** 10.93.2.2 josaphat lan2.4ghz
** 10.93.2.16/28 petvV2lan
*** 10.93.2.17 lanch1
*** 10.93.2.18 lanch11
** 10.93.2.32/28 oknomaster
*** 10.93.2.33 oknomaster
*** 10.93.2.34 madouclient
** 10.93.2.48/28 oknoinfra
*** 10.93.2.49 soekris
*** 10.93.2.50 minisoekris
** 10.93.2.64/29 brusiServices
*** 10.93.2.65 serv
*** 10.93.2.69 wrt
*** 10.93.2.70 5giga
** 10.93.2.72/29 potagereintermode
*** 10.93.2.73 wrtwan
*** 10.93.2.74 foneralan mac:00:18:84:27:87:54
** 10.93.2.80/29
*** 10.93.2.81 wrtrtt11
*** 10.93.2.82 sipserver
** 10.93.2.88/29
*** 10.93.2.89 lan soekrismadou
*** 10.93.2.90 wan wrt madou
** 10.93.2.96/28
*** 10.93.2.97 lan wrtMaPoule
*** 10.93.2.98 sip device
== Liège, Luik ==
* 10.94.0.0/16: Main Liège Network. [[LgMainNetwork]]
** 10.94.254.0/24: Management network. [[LgManagement]]
** 10.94.253.0/24: Peering network. [[LgPeering]] A découper en /30 ou /28
** 10.94.1.0/25: Kennedy Node. [[LgKennedy]]
** 10.94.1.128/25: Longdoz Node. [[LgLongdoz]]
== wirelessAntwerpen ==
* 10.98.0.0/16: Main WirelessAntwerpen Network.
** Client omni's, each 2.4 ghz omni has a /24 subnet and .100 to .254 dhcp scope
** 10.98.1.0/24: Schoten
** 10.98.2.0/24: Borgerhout-Oost Omni1
** 10.98.3.0/24: Deurne-Sportpaleis
** 10.98.4.0/24: Hoboken
** 10.98.5.0/24: Borgerhout-Oost Omni2
** 10.98.6.0/24: Wilrijk
** 10.98.7.0/24: Antwerpen-Stadspark
** 10.98.8.0/24: Borgerhout-Horizon
** 10.98.9.0/24: Borgerhout-Frostfire
** 10.98.10.0/24: Heist o/d Berg
** 10.98.11.0/24: Diest
** 10.98.12.0/24: Deurne
** 10.98.13.0/24: Borgerhout-Bacchus
** 10.98.14.0/24: Antwerpen-Linker
** 10.98.15.0/24: HOB Services
** 10.98.16.0/24: Berchem
** 10.98.17.0/24: Wilrijk-Permeke
** 10.98.18.0/24: Antwerpen-Stadspark2
** 10.98.19.0/24: Melsele
** 10.98.20.0/24: Westerlo
** 10.98.21.0/24: Atomium/protocol
** 10.98.22.0/24: Atomium/protocol
** 10.98.23.0/24: Lier
** 10.98.24.0/24: SPL
** 10.98.25.0/24: Berchem2
** 10.98.26.0/24: Antwerpen-Justitie
** 10.98.27.0/24: Antwerpen / ijzerlaan
** 10.98.28.0/24: Mortsel
** 10.98.29.0/24: Tielt-winge
** 10.98.30.0/24: Schilde
** 10.98.32.0/24: Beerzel
** 10.98.33.0/24: Tongeren (Vreren)
** 10.98.34.0/24: Tongeren2
** 10.98.35.0/24: Lille
** 10.98.36.0/24: St Truiden
** 10.98.38.0/24: Herentals
** 10.98.39.0/24: Ufsia
** 10.98.41.0/24: Antwerpen-Eilandje
** 10.98.100.0/24: Schoten
** 10.98.101.0/28: Schoten-VPN
** 10.98.150.0/24: Hasselt (rapertingen)
** 10.98.151.0/24: Hasselt-Kanaal
** 10.98.153.0/24: Hasselt (grensland)
** 10.98.152.0/24: Hasselt (grensland)
** 10.98.154.0/24: Hasselt-Ethias
* 5 ghz point to point links with 10.98.255.0/30 subnets
** Examples:
** Schoten <=> Oost 10.98.255.9 and 10.98.255.10
** Oost <=> Berchem 10.98.255.21 and 10.98.255.22
** Oost <=> Deurne 10.98.255.25 and 10.98.255.26
* Ethernet subnets for local access at a node with 10.98.253.0/28 subnets
** Examples:
** Oost 10.98.253.0/28
** Lier 10.98.253.16/28
** Heist o/d Berg 10.98.253.32/28
* Current actif network layout:
** [http://www.wirelessantwerpen.be/WA-netwerk.jpg IP-layout]
** [http://www.wirelessantwerpen.be/linken.gif Network map]
**
**
= Outils =
=== Memo ===
Les mouhs peuvent utiliser l'outil "ipcalc" qui vient en paquet sur la majorité des distributions linux et qui donne un truc du genre:
# ipcalc 10.93.0.1/28
Address: 10.93.0.1 !00001010.01011101.00000000.0000 0001
Netmask: 255.255.255.240 = 28 !11111111.11111111.11111111.1111 0000
Wildcard: 0.0.0.15 !00000000.00000000.00000000.0000 1111
=>
Network: 10.93.0.0/28 !00001010.01011101.00000000.0000 0000
HostMin: 10.93.0.1 !00001010.01011101.00000000.0000 0001
HostMax: 10.93.0.14 !00001010.01011101.00000000.0000 1110
Broadcast: 10.93.0.15 !00001010.01011101.00000000.0000 1111
Hosts/Net: 14 Class A, Private Internet
/28 veut dire que 28 bits de l'adresse IP seront utilisés pour s'addresser au sous-réseau, les 3 bits suivant serviront a s'adresser aux machines (qui ont chacune une adresse IP) et le dernier bit servira de broadcast.
Par exemple le sous-réseau 10.93.0.0 peut contenir des adresses IP de 10.93.0.1 a 10.93.0.14, 10.93.0.15 étant le broadcast, le sous-réseau suivant en /28 est 10.93.0.16, qui peut contenir les adresses IP de 10.93.0.17 a 10.93.0.30, .31 est le broadcast et .32 le sous-réseau suivant.
Logiciel Panik
0
1306
1800
1459
2008-12-06T08:46:17Z
Dako
4
wikitext
text/x-wiki
= Base =
La base installée est une [http://www.debian.org Debian] Sarge
= Packages installés =
En plus de l'installation de base de Sarge, les packages suivants sont installés:
<br />Pour faciliter la maintenance, on vise une installation '''minimale'''...
== Installation typique d'un noeud ==
* Système
** bzip2
** (gawk)
** less
** iptraf
** modconf
** nmap
** tcpdump
** traceroute
** ssh
* Wifi
** kismet n'est pas installé car les dépendances sont trop nombreuses ( @) il semble que dans Sarge kismet dépende de X)
** iperf
** wavemon
** wireless-tools
* NTP
** ntp
** ntp-server
** ntp-simple
** ntpdate
* Divers
** links
== Besoins particuliers ==
Les paquets suivants ne sont installés que si nécessaire:
* Supervision de processus
** daemontools
** svtools
* Audio
** aumix
** cdtool
** sox
** vorbis-tools
* Portables Toshiba
** toshset (permet d'activer le ventilateur, etc, ....)
= Noyeau =
Nous utiliserons un noyeau 2.4.27 qui est actuellement la dernière version stable de la série 2.4.
Particularités:
* Compilé pour une architecture i386 de manière a tourner su n'importe quel hardware
* Patches Debian
* Patch Orinoco pour le support du mode moniteur (kismet)
* Drivers [http://hostap.epitest.fi/ HostAP] 0.2.4
* Utilisation des drivers PCMCIA du noyeau
= AODV =
On utilise RC:AodvUu dans sa dernière version: 0.8.1
Le démarrage d'AODV se fait via les scripts ifupdown (voir RC:InstallerAodvUu / Binaires pour Debian)
= Streaming =
Nous avons donc 3 machines en jeu:
* '''Studio''' qui fournit le stream
* '''Panik''' ne sert que de passerelle entre le RC:ReseauCitoyen et '''Studio'''
* '''Josaphat''' machine client
La suite logicielle utilisée est [http://www.icecast.org/ices.php Ices 2] / [http://www.icecast.org IceCast] / [http://www.vorbis.com OggVorbis]
= Configuration des Systèmes =
== Généralités ==
Le fichier RC:FichierHostsPointsBleus est utilisé
<br />Les requetes DNS sont désactivées dans ''/etc/nsswitch.conf'' afin d'éviter des requètes DNS non désirées.
== Studio ==
=== Configuration ===
Pour réaliser les tests, j'ai configuré une machine en serveur [http://www.icecast.org IceCast]:
* [http://www.icecast.org/ices.php Ices 2] lit l'entrée ligne de la carte son, fait le rééchantillonage, l'encodage OGG et fournit l'entrée à [http://www.icecast.org IceCast]
* [http://www.icecast.org IceCast 2.0.1] diffuse le stream
On utilise aumix pour sélectionner la source et régler le volume. Points importants:
* La source à diffuser est celle qui est marquée comme 'R' (Record) dans aumix
* La seule façon de régler le volume pour [http://www.icecast.org/ices.php Ices] est le curseur ''IGain''. Les autre curseur n'influencent que la sortie son 'locale'. <br />Le son au départ était trop fort, il a fallu diminuer pour éviter de saturer (curseur ''IGain'' sur 50/60%)
L'encodage [http://www.icecast.org/ices.php Ices] prend environ 6% du cpu du serveur (AMD 1GHz), l'impact de [http://www.icecast.org IceCast] est négligeable.
<br />Par contre sur un Pentium 133MHz, [http://www.icecast.org/ices.php Ices] utilises 60 à 70% des resources!
La machine utilise Panik comme gateway vers le RC:ReseauCitoyen:
route add -net 10.0.0.0/8 gw 192.<panik>
=== Maintenance ===
Pas de maintenance particulière -- s'assurer que la route vers le RC:ReseauCitoyen est toujours définie. Le plus simple est de l'ajouter dans ''/etc/network/interfaces''; par exemple:
auto eth0
iface eth0 inet dhcp
up route add -net 10.0.0.0/8 gw 192.<panik>
== Panik ==
=== Configuration ===
La configuration du noeud est assez simple. Le seul point particulier est la configuration de la passerelle vers ''Studio''.
<br />Comme on ne peux pas faire ''simplement'' une passerelle avec RC:AodvUu, Panik fait du DNAT pour donner acces au stream:
iptables -t nat -I PREROUTING -i wlan0 -s 10.<josaphat> -p tcp --dport 8000 -j DNAT --to 192.<studio>:8000
et Masquerade le sous-réseau privé:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o wlan0 -j SNAT --to 10.<panik>
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.128).
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.154.69.107)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
== Josaphat ==
=== Configuration ===
On utilise le décodeur ogg123 de [http://www.vorbis.com OggVorbis] pour la lecture du stream (voir ci-dessous pour les détails).
<br />L'adresse du serveur est celle de ''Panik'' qui relaie vers ''Studio''
ogg123 -v http://10.<Panik>:8000/ReseauCitoyen.ogg
Le niveau sonore est ici aussi ajusté via aumix. c'est l'entrée ''PCM'' qu'il faut ici ajuster.
Le délais entre l'émission et la réception est d'environ 10 secondes.
<br />Même avec un bit rate relativement faible (qualité 0, débit d'environ 35 kbps, en mono) la qualité du son est impecable.
Ogg123 utilise environ 5% du CPU de la machine (Pentium 200 MHz)
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.129) -- Non utilisé.
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.8.39.138)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
Pour s'assurer que ogg123 tourne en permanence, il est supervisé par les [http://cr.yp.to/daemontools.html DaemonTools] et est rédémaré en cas de problème.
<br />Quelques pointeurs utiles:
* La ligne de commande exacte pour démarrer ogg123 se trouve dans le fichier ''/etc/sv/Stream Panik/run''. <br />Pour des raisons pratiques ce script ne contient que l'appel de ''/usr/local/sbin/stream-panik''. Ce dernier devra être adapté:
** en fonction de la fréquence de l'échantillonage de la source [http://www.icecast.org/ices.php Ices2] (initialement configuré pour 22050 Hz);
** si l'adresse de ''Panik'' change
* Le service est redémarré tous les jours à 3:30 du matin, de manière à ''rafraichir'' ogg123. Cela est configuré dans le ''cron'', fichier: ''/etc/cron.d/stream-panik''
* Arrêt / Démarrage / Re-demarage: <br />''/etc/init.d/stream-panik {start|stop|restart}''
* Activation / Désactivation (lorsque le service est ''désactivé'', il n'est plus démarré au boot, ni redémarré la nuit. Si on ne se sert pas du streaming, il faut le désactiver sinon il va tenter de le démarrer indéfiniment): <br />''/etc/init.d/stream-panik {enable|disable}''
* Voire les logs: <br />''mltail Stream Panik''
/!\ '''En cas de problème de streaming''': pour le redemarrer il faut:
* Soit ''tuer'' le client dans [http://www.icecast.org IceCast], le stream sera redémarré automatiquement
* Soit executer la commande suivant sur ''josaphat'': <br />''/etc/init.d/stream-panik restart''
= Problèmes rencontrés et Solutions =
== Décalage dans le stream ==
Après environ 12 heures de streaming, les buffers (Input et Output) de ogg123 se sont retrouvés proches de 0%, avec pour conséquence de légères coupures dans la restransmition. <br />Si le problème se résoud facilement par un re-démarrage de ogg123, cela pose un problème pour une utilisation 24h/24h.
'''D'où vient le problème?''' Ce n'est pas un problème de bande passante, la demande su stream est faible. Pour s'en convaincre, on peux réduire la vitesse du lien (`iwconfig rate 2M`) et démarrer un second ogg123 sans affecter la performance.
Une interprétation est que Josaphat joue légèrement plus vite que Studio ne produit: en effet, Josaphat ne peut lire plus vite que ce qui est disponible et au fil des heures on voit le buffer d'entée diminuer; lorsque le buffer d'entrée atteint 0, la vitesse de conversion ogg diminue puisque le convertisseur doit attendre des données; on voit alors le buffer de sortie qui n'est plus approvisionné au même rythme qu'il est vidé et il commence lui aussi à se vider. Lorsque les 2 buffers sont vides il n'y a plus rien à diffuser et donc on a des microcoupures dans le son...
<br />Une autre interprétation est qu'un décalage est introduit par Studio lors du re-sampling entre l'entrée et la sortie dans [http://www.icecast.org/ices.php Ices2] (48k vers 24K ici). Si la carte son n'est pas '''exactement''' sur 48k, on va générer un décalage.
<br />Dans notre cas, la première option est à priviligier -- le décalage étant pratiquement inexistant avec ogg123 tournat sur un autre PC.
Pour être complet, cela n'a pas l'air d'être lié à l'horloge du PC: j'ai synchronisé les 2 machines avec [http://www.ntp.org/ NTP] et cela ne change rien.
'''Comment y remédier?''' Je présume qu'il est pratiquement impossible d'avoir des systèmes parfaitements synchronisés. On pourrait envisager une amélioration de ogg123 qui dans ce cas de figure ''recharge'' ses buffers plutôt que de continuer à travailler à la limite. Sans toucher au software on peut:
* Augmenter la taille des buffers. <br />Cela ne fait que de reporter le problème et augmente légèrement le décalage du stream, mais c'est toujours ça de gagné!
* Augmenter le ''pre-buffering'' de manière a mieux utiliser le buffer d'input. <br />''Attention toutefois à ne pas avoir le phénomène inverse au cas où, en changeant de hardware, le lecteur serait plus lent...''
* Redémarrer ogg123 toutes les nuits. <br />Avec une interruption de retransmission de quelques secondes. Ce n'est pas l'idéal mais je ne vois pas d'alternative dans l'immédiat.
Concernant la taille des buffers, la lecture des sources nous révèle que:
* La taille par défaut buffer d'entrée est de 64k
* La taille par défaut buffer de sortie est de 128k
* Le ''pre-buffering'' par défaut est de 50%
Comme nous ne sommes pas trop limités en mémoire sur Josaphat, j'ai effectué un test avec 256k pour l'entrée, 512k pour la sortie avec un ''pre-buffering'' de 75% (comme le buffer d'entrée remplit en une fois le buffer de sortie, il se vide de 25% pratiquement en une fois et se stabilise aux alentours de 50-55%).
<br />Ce test de 24 heures confirme les premières observation: avec le hardware utilisé, le lecteur (Josaphat) lit une seconde plus vite par heure que le serveur de stream (Studio), donc de manière régulière: 12 secondes après 12 heures et 24 en 24 heures. Le buffer d'entrée lui a perdu 30-35% de sa capacité, soit 80-90 kB, ce qui est consistant avec le débit: 24 s à 30 kbps = 90 kB.
<br />Donc un buffer d'entrée de 256k rempli à 50% au départ permet sans problème une déviation de +/- une seconde par heure sur 24 heures.
<br />La grande taille du buffer de sortie n'apporte rien ici, si ce n'est un décalage excessif entre le direct et la diffusion (47 secondes au départ avec les paramètres ci-dessus).
<br />Les parametres recommandés pour ce bit rate sont donc:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 128 \
--device oss \
http://10.51.110.172:8000/ReseauCitoyen.ogg
Pour gérer tout cela, pas la peine de réinventer l'eau chaude, on utilise les [http://cr.yp.to/daemontools.html DaemonTools] de [http://cr.yp.to/djb.html D.J. Bernstein].
== Corruption du Stream ==
Les tests de longue durée ont révélé une corruption du stream -- probablement un bug dans la gestion des buffers de ogg123...
Après ''un certain temps'', un bruit parasite (un ''toc'') est introduit dans le stream. Le bruit se répète à intervalle régulier (à chaque ''tour'' dans le buffer).
J'ai effectué plusieurs tests, et ce problème est tout a fait reproductible: le stream est ''parfait'' jusqu'à un certain point, et une fois la corruption introduite, elle reste présente at garde le même cycle que la latence du stream (c'est-à-dire de plus en plus fréquent puisque le latence diminue avec la diminution de l'occupation du buffer du au problème précédent.
<br />La corruption se produit après environ 12:30 d'écoute (à affiner)
Ici aussi, une solution possible serait de redémarrer le stream toutes les 12 heures, mais cela implique une interruption en journée.
'''Cause du problème''': Nous avons un streaming à 24 kHz en 16 bits mono (1 canal). Cela nous fait 384 kbps; on atteind donc 2 GB en 12h 25m 39s!
<br />La cause est plus que probablement un dépassement d'entier signé sur 32 bits. Reste à trouver où!
Quelques observation:
* [http://www.xmms.org/ XMMS] n'a pas ce problème -- j'ai ''joué'' plus de 39 heures parfaitement.
* Bien que la grande majorité drivers ''OSS'' comptent les bytes joués dans un ''int'' (''count_info.bytes''), cette information n'est disponible que via un ''ioctl'' que ogg123 n'utilise pas
* Un output via ''aRts'' au lieu de ''OSS'' en direct génère le même problème
* Un output via ''raw | sox'' au lieu de ''OSS'' en direct génère le même problème
(!) Nouveau (27-Sep-04): le by-pass du buffer de sortie de ogg123 semble résoudre le problème:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 0 \
--device raw -f - \
http://10.51.110.172:8000/ReseauCitoyen.ogg |
sox -t raw -r 24000 -w -s - -t ossdsp -r 48000 /dev/dsp
C'est un point important, car cela:
* précise où se situe le problème (ce n'est donc pas un problème de pilote OSS ou de décodage ogg)
* offre un ''workaround''
Le noeud est maintenant configuré de cette façon.
==test avec mplayer==
Playing streams from the internet
Many web radio stations make you download a playlist with different ip's and ports if you want to listen to them. MPlayer is perfectly able to play a web station stream, but the playlist is not a stream, nor a media file. If MPlayer doesn't autodetect that it's looking at a playlist and not at a direct stream or media file, you can try using the -playlist option:
[rechosen@localhost ~]$ mplayer -playlist <file or url>
And if the server has hiccups and causes a lot of buffer underruns (or if you have a bad connection), you can set a bigger cache size:
[rechosen@localhost ~]$ mplayer -cache 8192 -playlist <file or url>
The cache size is specified in kilobytes; the above will make MPlayer use a cache of 8 mb. Note that MPlayer doesn't fill the whole cache before it starts playing, it only fills about 4 percent (after that it'll try to keep filling the cache during playback). You can alter that percentage with the -cache-min option:
[rechosen@localhost ~]$ mplayer -cache 8192 -cache-min 50 -playlist <file or url>
You can seek in a cache, but do not expect too much of it =).
Looping playback
If you want the media file you're playing to loop a certain amount of times (or infinitely), you can specify the -loop option, like this:
[rechosen@localhost ~]$ mplayer -loop 3 <somefile>
The above command will play <somefile> three times and then exit.
[rechosen@localhost ~]$ mplayer -loop 0 <somefile>
The above command will repeat playing <somefile> forever, unless it is interrupted (for example by quitting MPlayer with the "q" keyboard shortcut). Infinite playback can be useful if you, for example, want a (promotion) movie to play all day on an exhibition.
Altering the playback speed
This may not be that useful, but it can be good for a laugh =). You can make MPlayer play a media file at a different speed with the -speed option. The value 1.0 means normal speed, 0.5 means twice as slow, 2.0 means twice as fast and so on. Specify the option like this:
[rechosen@localhost ~]$ mplayer -speed 2.0 <somefile>
[[Category:Opération Panik]]
1801
1800
2008-12-07T00:15:02Z
Dako
4
wikitext
text/x-wiki
= Base =
La base installée est une [http://www.debian.org Debian] Sarge
= Packages installés =
En plus de l'installation de base de Sarge, les packages suivants sont installés:
<br />Pour faciliter la maintenance, on vise une installation '''minimale'''...
== Installation typique d'un noeud ==
* Système
** bzip2
** (gawk)
** less
** iptraf
** modconf
** nmap
** tcpdump
** traceroute
** ssh
* Wifi
** kismet n'est pas installé car les dépendances sont trop nombreuses ( @) il semble que dans Sarge kismet dépende de X)
** iperf
** wavemon
** wireless-tools
* NTP
** ntp
** ntp-server
** ntp-simple
** ntpdate
* Divers
** links
== Besoins particuliers ==
Les paquets suivants ne sont installés que si nécessaire:
* Supervision de processus
** daemontools
** svtools
* Audio
** aumix
** cdtool
** sox
** vorbis-tools
* Portables Toshiba
** toshset (permet d'activer le ventilateur, etc, ....)
= Noyeau =
Nous utiliserons un noyeau 2.4.27 qui est actuellement la dernière version stable de la série 2.4.
Particularités:
* Compilé pour une architecture i386 de manière a tourner su n'importe quel hardware
* Patches Debian
* Patch Orinoco pour le support du mode moniteur (kismet)
* Drivers [http://hostap.epitest.fi/ HostAP] 0.2.4
* Utilisation des drivers PCMCIA du noyeau
= AODV =
On utilise RC:AodvUu dans sa dernière version: 0.8.1
Le démarrage d'AODV se fait via les scripts ifupdown (voir RC:InstallerAodvUu / Binaires pour Debian)
= Streaming =
Nous avons donc 3 machines en jeu:
* '''Studio''' qui fournit le stream
* '''Panik''' ne sert que de passerelle entre le RC:ReseauCitoyen et '''Studio'''
* '''Josaphat''' machine client
La suite logicielle utilisée est [http://www.icecast.org/ices.php Ices 2] / [http://www.icecast.org IceCast] / [http://www.vorbis.com OggVorbis]
= Configuration des Systèmes =
== Généralités ==
Le fichier RC:FichierHostsPointsBleus est utilisé
<br />Les requetes DNS sont désactivées dans ''/etc/nsswitch.conf'' afin d'éviter des requètes DNS non désirées.
== Studio ==
=== Configuration ===
Pour réaliser les tests, j'ai configuré une machine en serveur [http://www.icecast.org IceCast]:
* [http://www.icecast.org/ices.php Ices 2] lit l'entrée ligne de la carte son, fait le rééchantillonage, l'encodage OGG et fournit l'entrée à [http://www.icecast.org IceCast]
* [http://www.icecast.org IceCast 2.0.1] diffuse le stream
On utilise aumix pour sélectionner la source et régler le volume. Points importants:
* La source à diffuser est celle qui est marquée comme 'R' (Record) dans aumix
* La seule façon de régler le volume pour [http://www.icecast.org/ices.php Ices] est le curseur ''IGain''. Les autre curseur n'influencent que la sortie son 'locale'. <br />Le son au départ était trop fort, il a fallu diminuer pour éviter de saturer (curseur ''IGain'' sur 50/60%)
L'encodage [http://www.icecast.org/ices.php Ices] prend environ 6% du cpu du serveur (AMD 1GHz), l'impact de [http://www.icecast.org IceCast] est négligeable.
<br />Par contre sur un Pentium 133MHz, [http://www.icecast.org/ices.php Ices] utilises 60 à 70% des resources!
La machine utilise Panik comme gateway vers le RC:ReseauCitoyen:
route add -net 10.0.0.0/8 gw 192.<panik>
=== Maintenance ===
Pas de maintenance particulière -- s'assurer que la route vers le RC:ReseauCitoyen est toujours définie. Le plus simple est de l'ajouter dans ''/etc/network/interfaces''; par exemple:
auto eth0
iface eth0 inet dhcp
up route add -net 10.0.0.0/8 gw 192.<panik>
== Panik ==
=== Configuration ===
La configuration du noeud est assez simple. Le seul point particulier est la configuration de la passerelle vers ''Studio''.
<br />Comme on ne peux pas faire ''simplement'' une passerelle avec RC:AodvUu, Panik fait du DNAT pour donner acces au stream:
iptables -t nat -I PREROUTING -i wlan0 -s 10.<josaphat> -p tcp --dport 8000 -j DNAT --to 192.<studio>:8000
et Masquerade le sous-réseau privé:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o wlan0 -j SNAT --to 10.<panik>
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.128).
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.154.69.107)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
== Josaphat ==
=== Configuration ===
On utilise le décodeur ogg123 de [http://www.vorbis.com OggVorbis] pour la lecture du stream (voir ci-dessous pour les détails).
<br />L'adresse du serveur est celle de ''Panik'' qui relaie vers ''Studio''
ogg123 -v http://10.<Panik>:8000/ReseauCitoyen.ogg
Le niveau sonore est ici aussi ajusté via aumix. c'est l'entrée ''PCM'' qu'il faut ici ajuster.
Le délais entre l'émission et la réception est d'environ 10 secondes.
<br />Même avec un bit rate relativement faible (qualité 0, débit d'environ 35 kbps, en mono) la qualité du son est impecable.
Ogg123 utilise environ 5% du CPU de la machine (Pentium 200 MHz)
La machine est configurée avec une adresse IP fixe du coté filaire (192.168.1.129) -- Non utilisé.
<br />Coté wifi, l'adresse est attribuée sur base de la MAC-Address de la carte (10.8.39.138)
=== Maintenance ===
Aucune opération nécessaire au boot.
Toute la configuration réseau est centralisé dans ''/etc/network/interfaces''.
Pour s'assurer que ogg123 tourne en permanence, il est supervisé par les [http://cr.yp.to/daemontools.html DaemonTools] et est rédémaré en cas de problème.
<br />Quelques pointeurs utiles:
* La ligne de commande exacte pour démarrer ogg123 se trouve dans le fichier ''/etc/sv/Stream Panik/run''. <br />Pour des raisons pratiques ce script ne contient que l'appel de ''/usr/local/sbin/stream-panik''. Ce dernier devra être adapté:
** en fonction de la fréquence de l'échantillonage de la source [http://www.icecast.org/ices.php Ices2] (initialement configuré pour 22050 Hz);
** si l'adresse de ''Panik'' change
* Le service est redémarré tous les jours à 3:30 du matin, de manière à ''rafraichir'' ogg123. Cela est configuré dans le ''cron'', fichier: ''/etc/cron.d/stream-panik''
* Arrêt / Démarrage / Re-demarage: <br />''/etc/init.d/stream-panik {start|stop|restart}''
* Activation / Désactivation (lorsque le service est ''désactivé'', il n'est plus démarré au boot, ni redémarré la nuit. Si on ne se sert pas du streaming, il faut le désactiver sinon il va tenter de le démarrer indéfiniment): <br />''/etc/init.d/stream-panik {enable|disable}''
* Voire les logs: <br />''mltail Stream Panik''
/!\ '''En cas de problème de streaming''': pour le redemarrer il faut:
* Soit ''tuer'' le client dans [http://www.icecast.org IceCast], le stream sera redémarré automatiquement
* Soit executer la commande suivant sur ''josaphat'': <br />''/etc/init.d/stream-panik restart''
= Problèmes rencontrés et Solutions =
== Décalage dans le stream ==
Après environ 12 heures de streaming, les buffers (Input et Output) de ogg123 se sont retrouvés proches de 0%, avec pour conséquence de légères coupures dans la restransmition. <br />Si le problème se résoud facilement par un re-démarrage de ogg123, cela pose un problème pour une utilisation 24h/24h.
'''D'où vient le problème?''' Ce n'est pas un problème de bande passante, la demande su stream est faible. Pour s'en convaincre, on peux réduire la vitesse du lien (`iwconfig rate 2M`) et démarrer un second ogg123 sans affecter la performance.
Une interprétation est que Josaphat joue légèrement plus vite que Studio ne produit: en effet, Josaphat ne peut lire plus vite que ce qui est disponible et au fil des heures on voit le buffer d'entée diminuer; lorsque le buffer d'entrée atteint 0, la vitesse de conversion ogg diminue puisque le convertisseur doit attendre des données; on voit alors le buffer de sortie qui n'est plus approvisionné au même rythme qu'il est vidé et il commence lui aussi à se vider. Lorsque les 2 buffers sont vides il n'y a plus rien à diffuser et donc on a des microcoupures dans le son...
<br />Une autre interprétation est qu'un décalage est introduit par Studio lors du re-sampling entre l'entrée et la sortie dans [http://www.icecast.org/ices.php Ices2] (48k vers 24K ici). Si la carte son n'est pas '''exactement''' sur 48k, on va générer un décalage.
<br />Dans notre cas, la première option est à priviligier -- le décalage étant pratiquement inexistant avec ogg123 tournat sur un autre PC.
Pour être complet, cela n'a pas l'air d'être lié à l'horloge du PC: j'ai synchronisé les 2 machines avec [http://www.ntp.org/ NTP] et cela ne change rien.
'''Comment y remédier?''' Je présume qu'il est pratiquement impossible d'avoir des systèmes parfaitements synchronisés. On pourrait envisager une amélioration de ogg123 qui dans ce cas de figure ''recharge'' ses buffers plutôt que de continuer à travailler à la limite. Sans toucher au software on peut:
* Augmenter la taille des buffers. <br />Cela ne fait que de reporter le problème et augmente légèrement le décalage du stream, mais c'est toujours ça de gagné!
* Augmenter le ''pre-buffering'' de manière a mieux utiliser le buffer d'input. <br />''Attention toutefois à ne pas avoir le phénomène inverse au cas où, en changeant de hardware, le lecteur serait plus lent...''
* Redémarrer ogg123 toutes les nuits. <br />Avec une interruption de retransmission de quelques secondes. Ce n'est pas l'idéal mais je ne vois pas d'alternative dans l'immédiat.
Concernant la taille des buffers, la lecture des sources nous révèle que:
* La taille par défaut buffer d'entrée est de 64k
* La taille par défaut buffer de sortie est de 128k
* Le ''pre-buffering'' par défaut est de 50%
Comme nous ne sommes pas trop limités en mémoire sur Josaphat, j'ai effectué un test avec 256k pour l'entrée, 512k pour la sortie avec un ''pre-buffering'' de 75% (comme le buffer d'entrée remplit en une fois le buffer de sortie, il se vide de 25% pratiquement en une fois et se stabilise aux alentours de 50-55%).
<br />Ce test de 24 heures confirme les premières observation: avec le hardware utilisé, le lecteur (Josaphat) lit une seconde plus vite par heure que le serveur de stream (Studio), donc de manière régulière: 12 secondes après 12 heures et 24 en 24 heures. Le buffer d'entrée lui a perdu 30-35% de sa capacité, soit 80-90 kB, ce qui est consistant avec le débit: 24 s à 30 kbps = 90 kB.
<br />Donc un buffer d'entrée de 256k rempli à 50% au départ permet sans problème une déviation de +/- une seconde par heure sur 24 heures.
<br />La grande taille du buffer de sortie n'apporte rien ici, si ce n'est un décalage excessif entre le direct et la diffusion (47 secondes au départ avec les paramètres ci-dessus).
<br />Les parametres recommandés pour ce bit rate sont donc:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 128 \
--device oss \
http://10.51.110.172:8000/ReseauCitoyen.ogg
Pour gérer tout cela, pas la peine de réinventer l'eau chaude, on utilise les [http://cr.yp.to/daemontools.html DaemonTools] de [http://cr.yp.to/djb.html D.J. Bernstein].
== Corruption du Stream ==
Les tests de longue durée ont révélé une corruption du stream -- probablement un bug dans la gestion des buffers de ogg123...
Après ''un certain temps'', un bruit parasite (un ''toc'') est introduit dans le stream. Le bruit se répète à intervalle régulier (à chaque ''tour'' dans le buffer).
J'ai effectué plusieurs tests, et ce problème est tout a fait reproductible: le stream est ''parfait'' jusqu'à un certain point, et une fois la corruption introduite, elle reste présente at garde le même cycle que la latence du stream (c'est-à-dire de plus en plus fréquent puisque le latence diminue avec la diminution de l'occupation du buffer du au problème précédent.
<br />La corruption se produit après environ 12:30 d'écoute (à affiner)
Ici aussi, une solution possible serait de redémarrer le stream toutes les 12 heures, mais cela implique une interruption en journée.
'''Cause du problème''': Nous avons un streaming à 24 kHz en 16 bits mono (1 canal). Cela nous fait 384 kbps; on atteind donc 2 GB en 12h 25m 39s!
<br />La cause est plus que probablement un dépassement d'entier signé sur 32 bits. Reste à trouver où!
Quelques observation:
* [http://www.xmms.org/ XMMS] n'a pas ce problème -- j'ai ''joué'' plus de 39 heures parfaitement.
* Bien que la grande majorité drivers ''OSS'' comptent les bytes joués dans un ''int'' (''count_info.bytes''), cette information n'est disponible que via un ''ioctl'' que ogg123 n'utilise pas
* Un output via ''aRts'' au lieu de ''OSS'' en direct génère le même problème
* Un output via ''raw | sox'' au lieu de ''OSS'' en direct génère le même problème
(!) Nouveau (27-Sep-04): le by-pass du buffer de sortie de ogg123 semble résoudre le problème:
ogg123 --verbose \
--buffer 256 --prebuffer 60 --audio-buffer 0 \
--device raw -f - \
http://10.51.110.172:8000/ReseauCitoyen.ogg |
sox -t raw -r 24000 -w -s - -t ossdsp -r 48000 /dev/dsp
C'est un point important, car cela:
* précise où se situe le problème (ce n'est donc pas un problème de pilote OSS ou de décodage ogg)
* offre un ''workaround''
Le noeud est maintenant configuré de cette façon.
==test avec mplayer==
le 07-12-2008 un stream est lancé entre le brusilia et le serveur de domaine public.
une carte son est relié a l'émetteur.et ca marche!
mais on a rencontré le même prôbleme avec ogg123 , un test avec mplayer est en route avec la commande suivante
while true ; do mplayer -cache 2048 -cache-min 5 http://streaming.domainepublic.net:8000/radiopanik.ogg -loop 0; done
[[Category:Opération Panik]]
Gestion Panik
0
1314
1804
1487
2008-12-30T22:50:20Z
Dako
4
wikitext
text/x-wiki
= A faire =
* tester un stream entre panik et josaphat
* ...
= 2007-01-10 statut actuel =
*bakbox avec un debian
*mot de passe perdu!!
= date 04 - heure - Intervention sur place / distante =
Intervenants : ....
* Détails de l'intervention
* .......
= 10 Février 05 - 13h - Intervention distante =
Intervenants : Philippe
* Installation de rc-watchdog sur panik/josaphat/joske
= 10 Janvier 05 - 21h - Intervention distante =
Intervenants : Philippe
* Correction du crontab de ''!CheckAodv'' (voir [[Gestion Josaphat]])
= 29 Décembre 04 - 22h00 - Intervention distante =
Intervenants : Eric G
* Copie de fichier son pour le test du stream ce trouvant dans /root/son
= 5 décembre 04 - 18h - Intervention distante =
Intervenants : Philippe
* Installation du script de monitoring AODV déjà en place sur josaphat
= 2 décembre 04 - 17h - Intervention sur place =
Intervenants : Ivan
* Remise en canal 1 suite à un changement intempestif en canal 6 avec pollution de "bossuet" et" ivan"
= 25 Novembre 04 - 14h - Intervention sur place =
Intervenants : Mathieu, Ivan
* Remplacement de l'antenne omni 9dB par une antenne grid 15 dbB
= 16 Novembre 04 - 19h00 - Intervention sur distante =
Intervenants : Philippe
Monitoring suite à l'interruption de service de lundi 15 au mardi 16 novembre
'''Incident''': Panik passe en rouge dans Nagios le 15 Novembre à 16h28 et réapparait le 16 novembre à 16:08
'''Analyse''': on observe les faits suivants:
* La machine n'a pas été arretée, le processus aodv n'a pas été redémarré -- le problème s'est donc réglé ''de lui-même''
* Durant toute la durée de l'incident, il n'y avait que une et une seule machine dans les tables de routage AODV: Arnaud (chardons)
* Fait intéressant: le noeud chardons était ''rouge'' dans Nagios '''pendant le même laps de temps'''!! Il semble donc que ces 2 machines se sont ''isolées'' du réseau.<br />L'analyse des logs de Josaphat confirme ce point: aucune des 2 machines n'est dans les tables de routage durant l'incident.
'''Conclusion''': On ne peut rien conclure de ces observations, seulement émettre des hypothèses...
<br />Il faudrait collecter plus d'informations sur les noeuds (info wireless, ...)
= 13 novembre 04 - 16h00 - Intervention distante =
Intervenant : Philippe
* Limitation du lien a 2Mb/s (live + mise-à-jour de ''/etc/network/interface'').
* Mise a jour de ''/etc/hosts''
= 23 decembre 08 -10h00 nouvelle installation
Intervenant : DavidK et ericG
*installation d'une grid 5ghz aligné vers le brusilia.
*le stream est maintenant en production
* creation de la page [[panik-ng]]
[[Category:Gestion RéseauCitoyen]]
Panik-ng
0
1366
1805
2008-12-30T22:50:48Z
Dako
4
wikitext
text/x-wiki
=panik-ng=
1806
1805
2008-12-30T23:12:37Z
Dako
4
wikitext
text/x-wiki
''intro''
* 04 décembre 2008 - le faisceau analogique étant mort radio panik refait appel au service de réseau citoyen ( 4 ans après les derniers tests).
* 23 décembre 2008 - un nouveau noeud est installé a panik.
= Informations sur le noeud =
==carte mère:==
model name : Geode(TM) Integrated Processor by AMD PCS
cpu MHz : 498.049
cache size : 128 KB
memory : 256M ddr
minipci-slot : 2
lan : 2
==sans-fil:==
00:0c.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
00:0e.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
==antenne:==
-grid 24db 5ghz
-patch 9db 2.4ghz ( a remplacer pae une omni que je n'avais pas sous la main)
==logiciel:==
openwrt kamikaze 7.09
olsr 0.5.3-1
iptables 1.3.7-1
le routage vers le brusilia se fait via olsr ( protocole de routage dynamique)
le lien vers le serveur de stream du reseau local du studio se fait via iptables et un port forward sur le port 8000
==debug:==
*vérifier la présence du noeud sur le réseau local de panik:
ping 192.168.1.104
1807
1806
2008-12-30T23:16:22Z
Dako
4
/* debug: */
wikitext
text/x-wiki
''intro''
* 04 décembre 2008 - le faisceau analogique étant mort radio panik refait appel au service de réseau citoyen ( 4 ans après les derniers tests).
* 23 décembre 2008 - un nouveau noeud est installé a panik.
= Informations sur le noeud =
==carte mère:==
model name : Geode(TM) Integrated Processor by AMD PCS
cpu MHz : 498.049
cache size : 128 KB
memory : 256M ddr
minipci-slot : 2
lan : 2
==sans-fil:==
00:0c.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
00:0e.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
==antenne:==
-grid 24db 5ghz
-patch 9db 2.4ghz ( a remplacer pae une omni que je n'avais pas sous la main)
==logiciel:==
openwrt kamikaze 7.09
olsr 0.5.3-1
iptables 1.3.7-1
le routage vers le brusilia se fait via olsr ( protocole de routage dynamique)
le lien vers le serveur de stream du reseau local du studio se fait via iptables et un port forward sur le port 8000
==debug:==
* Pour vérifier la présence du noeud sur le réseau local de panik effectuez un ping comme dans l'exemple:
root@panik5g:~# ping 192.168.1.104
et le resultat devrait ressembler a :
64 bytes from 192.168.1.104: icmp_seq=0 ttl=64 time=0.2 ms
64 bytes from 192.168.1.104: icmp_seq=1 ttl=64 time=0.1 ms
=ToDo=
1808
1807
2008-12-30T23:24:19Z
Dako
4
/* ToDo */
wikitext
text/x-wiki
''intro''
* 04 décembre 2008 - le faisceau analogique étant mort radio panik refait appel au service de réseau citoyen ( 4 ans après les derniers tests).
* 23 décembre 2008 - un nouveau noeud est installé a panik.
= Informations sur le noeud =
==carte mère:==
model name : Geode(TM) Integrated Processor by AMD PCS
cpu MHz : 498.049
cache size : 128 KB
memory : 256M ddr
minipci-slot : 2
lan : 2
==sans-fil:==
00:0c.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
00:0e.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
==antenne:==
-grid 24db 5ghz
-patch 9db 2.4ghz ( a remplacer pae une omni que je n'avais pas sous la main)
==logiciel:==
openwrt kamikaze 7.09
olsr 0.5.3-1
iptables 1.3.7-1
le routage vers le brusilia se fait via olsr ( protocole de routage dynamique)
le lien vers le serveur de stream du reseau local du studio se fait via iptables et un port forward sur le port 8000
==debug:==
* Pour vérifier la présence du noeud sur le réseau local de panik effectuez un ping comme dans l'exemple:
root@panik5g:~# ping 192.168.1.104
et le resultat devrait ressembler a :
64 bytes from 192.168.1.104: icmp_seq=0 ttl=64 time=0.2 ms
64 bytes from 192.168.1.104: icmp_seq=1 ttl=64 time=0.1 ms
=ToDo=
==sécuriser l'alimentation==
l'alimentation du noeud est simplement branchée dans le multiprise a coté du switch,
2 jours après la mise en place du noeud la prise avait déjà été enlevée accidentellement.
'solution: brancher la prise dans le côt qui mène au toit.'
==remplacer le cable réseau==
le cable qui court sur le toit n'est pas concu pour résister aux UV,
pour ne pas devoir le remplacer dans 3 ans il est prévu d' installer une section de cable "CAT6E" ( résistant aux uv ).
du noeud a la prise d'alimentation du kot.
1810
1808
2008-12-30T23:56:42Z
Dako
4
/* ToDo */
wikitext
text/x-wiki
''intro''
* 04 décembre 2008 - le faisceau analogique étant mort radio panik refait appel au service de réseau citoyen ( 4 ans après les derniers tests).
* 23 décembre 2008 - un nouveau noeud est installé a panik.
= Informations sur le noeud =
==carte mère:==
model name : Geode(TM) Integrated Processor by AMD PCS
cpu MHz : 498.049
cache size : 128 KB
memory : 256M ddr
minipci-slot : 2
lan : 2
==sans-fil:==
00:0c.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
00:0e.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
==antenne:==
-grid 24db 5ghz
-patch 9db 2.4ghz ( a remplacer pae une omni que je n'avais pas sous la main)
==logiciel:==
openwrt kamikaze 7.09
olsr 0.5.3-1
iptables 1.3.7-1
le routage vers le brusilia se fait via olsr ( protocole de routage dynamique)
le lien vers le serveur de stream du reseau local du studio se fait via iptables et un port forward sur le port 8000
==debug:==
* Pour vérifier la présence du noeud sur le réseau local de panik effectuez un ping comme dans l'exemple:
root@panik5g:~# ping 192.168.1.104
et le resultat devrait ressembler a :
64 bytes from 192.168.1.104: icmp_seq=0 ttl=64 time=0.2 ms
64 bytes from 192.168.1.104: icmp_seq=1 ttl=64 time=0.1 ms
=ToDo=
==sécuriser l'alimentation==
l'alimentation du noeud est simplement branchée dans le multiprise a coté du switch,
2 jours après la mise en place du noeud la prise avait déjà été enlevée accidentellement.
'solution: brancher la prise dans le côt qui mène au toit.'
==remplacer le cable réseau==
le cable qui court sur le toit n'est pas concu pour résister aux UV,
pour ne pas devoir le remplacer dans 3 ans il est prévu d' installer une section de cable "CAT6E" ( résistant aux uv ).
du noeud a la prise d'alimentation du kot.
[[Image:Panik-plan.png]]
File:Panik-plan.png
6
1367
1809
2008-12-30T23:55:02Z
Dako
4
wikitext
text/x-wiki
Main Page
0
1
1813
1777
2009-01-06T08:38:14Z
Dako
4
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
----
mais ce wiki reste un outil de travail et de documentation active pour quelques fourmi du reeaucitoyen.
--Dako
----
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Wrt Freinfunk]] comment migrer de openwrt a freifunk facilement.
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[Test Divers]]: some test and their results
* [[RcTools]]
* [[Kamikaze]] configurer kamikaze pour un wrap et fonera
* [[Asterisk]] pbx iax et autres
* [[RcNg]]
1823
1813
2009-04-24T21:54:03Z
Dako
4
/* Contents */
wikitext
text/x-wiki
= About this Wiki =
This wiki has been initially setup to support the design and the development of [[Bubble]] version 2.
Over time, it became the host of other projects loosely coupled to [http://www.reseaucitoyen.be RéseauCitoyen].
----
mais ce wiki reste un outil de travail et de documentation active pour quelques fourmi du reeaucitoyen.
--Dako
----
= Contents =
* [[Bubble]]: a mini Linux distribution designed to run a wireless [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[RC-1000]]: transform an Orinoco RG-1000 into a [http://www.reseaucitoyen.be RéseauCitoyen] node
* [[Opération Panik]]: audio streaming for [http://www.reseaucitoyen.be RéseauCitoyen] Testimonial
* [[Gestion RéseauCitoyen]]: node logbook
* [[Wrt Citoyen]]: some notes about running AODV-UU / OLSR on [http://openwrt.org OpenWrt]
* [[Wrt Freinfunk]] comment migrer de openwrt a freifunk facilement.
* [[Noeud Bulles]]: this wiki is also the main site of the bulles.bxl.rc [http://www.reseaucitoyen.be RéseauCitoyen] node.
* [[Bering-uClibc]]: build a [http://www.reseaucitoyen.be RéseauCitoyen] on top of [[Bering-uClibc]]
* [[Test Divers]]: some test and their results
* [[RcTools]]
* [[Kamikaze]] [[kamikaze-luci]] configurer kamikaze pour un wrap, soekris,fonera,rb433
* [[Asterisk]] pbx iax et autres
* [[RcNg]]
Kamikaze
0
1350
1814
1803
2009-04-08T11:18:28Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-rb433=====
voir la page [[kamikaze-rb433]]
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-alix=====
les drivers ethernet ne sont pas pesent dans l'image de base openwrt.
il faut donc installer kmod-via-rhine sans carte réseau :)
il faut donc soit les copier sur la CF
et a l aide d un cable serie les installer
soit compiler a l aide du target "alix" present dans la version svn actuelle.
afin que les drivers soient déja présent après le flashage.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.09/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
=====Olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
====support ipv6====
#ipkg update && ipkg install kmod-ipv6 radvd ip kmod-ip6tables ip6tables
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test sont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
pour utiliser une autre fonera pour se connecter en port série ( si l'on a pas la puce max323)
http://www.jopa.fr/index.php/2008/10/04/acceder-au-port-console-de-la-fonera-depuis-une-autre-fonera/
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1821
1814
2009-04-22T13:26:31Z
Dako
4
/* info-alix */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-rb433=====
voir la page [[kamikaze-rb433]]
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-alix=====
les drivers ethernet ne sont pas présent dans l'image de base openwrt.
il faut donc installer kmod-via-rhine sans carte réseau :)
il faut donc soit les copier sur la CompactFlash
et à l'aide d'un cable série les installer
soit compiler à l'aide du target "alix" présent dans la version svn actuelle.
afin que les drivers soient déja présent dans l'image.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.09/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
=====Olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
====support ipv6====
#ipkg update && ipkg install kmod-ipv6 radvd ip kmod-ip6tables ip6tables
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test sont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
pour utiliser une autre fonera pour se connecter en port série ( si l'on a pas la puce max323)
http://www.jopa.fr/index.php/2008/10/04/acceder-au-port-console-de-la-fonera-depuis-une-autre-fonera/
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1822
1821
2009-04-22T13:34:45Z
Dako
4
/* info-alix */
wikitext
text/x-wiki
==installer openwrt kamikaze pour x86==
=====info-rb433=====
voir la page [[kamikaze-rb433]]
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-alix=====
les drivers ethernet ne sont pas présent dans l'image de base openwrt.
il faut donc installer kmod-via-rhine sans carte réseau :)
téléchargez les là:
[http://downloads.openwrt.org/kamikaze/8.09/x86/packages/kmod-via-rhine_2.6.25.17-x86-1_i386.ipk] ( pour kamikaze 8.09)
il faut ensuite copier le .ipk sur la CompactFlash
et à l'aide d'un cable série les installer
#ipkg kmod-via-rhine_2.6.25.17-x86-1_i386.ipk
soit compiler à l'aide du target "alix" présent dans la version svn actuelle.
afin que les drivers soient déja présent dans l'image.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.09/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
=====Olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
====support ipv6====
#ipkg update && ipkg install kmod-ipv6 radvd ip kmod-ip6tables ip6tables
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test sont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
pour utiliser une autre fonera pour se connecter en port série ( si l'on a pas la puce max323)
http://www.jopa.fr/index.php/2008/10/04/acceder-au-port-console-de-la-fonera-depuis-une-autre-fonera/
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
1828
1822
2009-10-24T02:01:44Z
Dako
4
wikitext
text/x-wiki
!!Une version plus a jour se trouve maintenant à cette page: http://reseaucitoyen.org/ !!
==installer openwrt kamikaze pour x86==
=====info-rb433=====
voir la page [[kamikaze-rb433]]
=====info-soekris=====
[reglé]
je comprend toujours pas mais la meme image que dans un wrap sur une soekris mais horriblement longtemps a booter
[/reglé]
ben voila ces quelques modification regle l affaire
il suffit d editer /boot/grub/menulist
seulement je ne le trouvait pas, c est parce qu il fallait le monter pour l editer.
#mkdir /boot
#mount /dev/hda1 /boot
#vi /boot/boot/grub/menulist
et modifez le debut du fichier telquel
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal serial
default 0
timeout 0
pour une soekris avec pcmcia installez :
root@OpenWrt:~# ipkg install pcmcia-cs_3.2.8-1_mipsel.ipk
Installing pcmcia-cs (3.2.8-1) to root...
Configuring pcmcia-cs
Done.
root@OpenWrt:~# ipkg install kmod-pcmcia-core_2.4.34-brcm-1_mipsel.ipk
Installing kmod-pcmcia-core (2.4.34-brcm-1) to root...
Configuring kmod-pcmcia-core
Done.
=====info-alix=====
les drivers ethernet ne sont pas présent dans l'image de base openwrt.
il faut donc installer kmod-via-rhine sans carte réseau :)
téléchargez les là:
[http://downloads.openwrt.org/kamikaze/8.09/x86/packages/kmod-via-rhine_2.6.25.17-x86-1_i386.ipk] ( pour kamikaze 8.09)
il faut ensuite copier le .ipk sur la CompactFlash
et à l'aide d'un cable série les installer
#ipkg kmod-via-rhine_2.6.25.17-x86-1_i386.ipk
soit compiler à l'aide du target "alix" présent dans la version svn actuelle.
afin que les drivers soient déja présent dans l'image.
=====info-wrap=====
(un wrap dans ce cas-ci)
telecharger une image recente
soit la stable de openwrt:
wget http://downloads.openwrt.org/kamikaze/7.09/x86-2.6/openwrt-x86-2.6-ext2.image
inserer votre compact flash (vérifier que le ne s' est pas montée au démarrage ( #mout ))
ensuite ecrivons l image avec dd
#dd if=openwrt-x86-2.6-ext2.image of=/dev/sdx
une fois terminer il est temps d inserer la carte pour un premier boot
pour y acceder la premiere fois c est en telnet (il faut bien sur avoir prealablement configurer une interface en 192.168.1.[tout sauf 192.168.1.1]
#telnet 192.168.1.1
===configurer===
vous voila loggé,
!!avant toute chose n' oubliez pas d'attribuer un mot passe lors de la premiere connection en telnet.
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
=====installer les modules nécessaires======
installer les modules madwifi
#ipkg update && ipkg install kmod-madwifi
====network====
les fichiers de config se trouvent dans /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config "interface" "lan"
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.0.16'
option netmask '255.255.255.0'
option gateway '192.168.0.134'
option dns '4.2.2.2'
#
#
config "interface" "lan1"
option ifname 'eth1'
option proto 'static'
option ipaddr '10.93.0.65'
option netmask '255.255.255.224'
#
#### Wireless configuration
config interface wireless
option ifname ath0
option proto static
option ipaddr 10.93.0.98
option netmask 255.255.255.224
on peut également les manipuler avec la commande uci
root@rmolen5g:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0
network.lan.proto=static
network.lan.ipaddr=192.168.0.16
network.lan.netmask=255.255.255.0
network.lan.gateway=192.168.0.134
network.lan.dns=4.2.2.2
network.lan1=interface
network.lan1.ifname=eth1
network.lan1.proto=static
network.lan1.ipaddr=10.93.0.65
network.lan1.netmask=255.255.255.224
network.wireless=interface
network.wireless.ifname=ath0
network.wireless.proto=static
network.wireless.ipaddr=10.93.0.98
network.wireless.netmask=255.255.255.224
====wireless====
configurer le wireless
avec une atheros
astuce 5ghz rajouter le country code dans le fichiers /etc/modules.d/50-madwifi
...
ath_pci countrycode=56
astuce2 avec atheros et le mode 11a l' option distance est importante. voir [[test athctrl]]
exemple de fichiers de config ( qui se trouve dans /etc/config/wireless)
config wifi-device wifi0
option type atheros
option country 56
option channel 140
option disabled 0
option distance 3000
option agmode 11a
option diversity 0
option txantenna 1
option rxantenna 1
config wifi-iface
option device wifi0
option mode sta
option ssid josaphatmaster
et vu par uci
root@rmolen5g:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.country=56
wireless.wifi0.channel=140
wireless.wifi0.disabled=0
wireless.wifi0.distance=3000
wireless.wifi0.agmode=11a
wireless.wifi0.diversity=0
wireless.wifi0.txantenna=1
wireless.wifi0.rxantenna=1
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.mode=sta
wireless.cfg2.ssid=josaphatmaster
avec une mini-pci type prism
...
====firewall====
en attendant de meilleure commande uci les configurtations se font dans /etc/firewall.user
j ai choisi de faire un fichiers plus adapté sans bridge et autre
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
#
###asterisk
iptables -A INPUT -p udp --dport 4569 -j ACCEPT
#iptables -A INPUT -p tcp --dport 4569 -j ACCEPT
iptables -A INPUT -p udp --dport 5060 -j ACCEPT
iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
#
#olsr
iptables -A INPUT -p udp --dport 698 -j ACCEPT
===application===
=====Olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
====support ipv6====
#ipkg update && ipkg install kmod-ipv6 radvd ip kmod-ip6tables ip6tables
====asterisk==== (pas fini)
une version pour la kamikaze actuelle est presente sur
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/x86-2.6/packages/
les test sont en cours avec le paquet asterisk-mini
...a suivre (2007-12-14)
==installer openwrt kamikaze pour fonera==
je ne détaile pas ici la procédure d activation du redboot
de nombreux sites en parle
en voici un pour se connecter en port serie.
http://www.francofon.fr/modules/mediawiki/index.php/Les_entrailles_de_la_Fonera
pour utiliser une autre fonera pour se connecter en port série ( si l'on a pas la puce max323)
http://www.jopa.fr/index.php/2008/10/04/acceder-au-port-console-de-la-fonera-depuis-une-autre-fonera/
===flasher la fonera avec kamikaze===
====mettre en place le serveur tftp====
#apt-get install xinetd tftpd tftp
un bon tuto pour faire un serveur tftp se trouve ici http://doc.ubuntu-fr.org/tftpd
en suite copier les derniere images stable d openwrt dans le repertoire par default du serveur tftp
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs
wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
cp openwrt-atheros-2.6-* /tftpboot/
====se connecter en redboot====
telnet 192.168.1.254 9000 (parfois il faut pas specifier le port )
pour vous connecter en reboot vous dix petite seconde a partir du moment ou la led 'network' s allume au démarrage pour faire 'CTRL+c' dans la console (redboot).
====configurer le redboot pour le serveur tftp====
RedBoot> ip_addr -l 192.168.1.10/24 -h 192.168.1.166
*-l specifie l adresse de la fonera (attention si vous changez l adresse vous perdez la fonera apres avoir appuyé sur 'entrée'
*-h specifi le serveur tftp
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
vous répondez yes
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801007ff, assumed entry at 0x80040800
RedBoot> fi cr -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
... Program from 0x80040800-0x80100800 at 0xa8030000: ............
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
patientez
recalculont la memoire disponible
RedBoot> fis free
0xA80F0000 .. 0xA87E0000
un petit calcul pour voir ou on commence l ecriture( avec bc)
root@bolivar:~# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
ibase=16
A87E0000 -A80F0000
'''6F0000'''
ensuite
RedBoot> lo -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x80040800-0x801607ff, assumed entry at 0x80040800
ici il faut adapter la valeur
RedBoot> fi cr -l 0x6F0000 rootfs
... Erase from 0xa80f0000-0xa87e0000: ...............................................................................................................
... Program from 0x80040800-0x80160800 at 0xa80f0000: ..................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
finaliser en tapant exec
RedBoot> fis load -l vmlinux.bin.l7
RedBoot> exec
====reflasher facilement une fonera avec ap51-flash-fonera====
(sous une architecture 64bit j' ai un probleme avec libpcap)
ce merveilleux script qui nous viens tout droit de la communauté freifunk permet de reflasher une fonra ou le
'''red boot''' serait deja '''activé.'''
il suffit de se procurer ces trois fichiers ( dans le cas d un upgrade kamikaze par le vide )
* ap-51-flash [http://download.berlin.freifunk.net/fonera/ap51-flash-fonera-1.0-38] (la version a l'heure de lécriture de cette doc est 0.38)
* kamiaze kernel [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma]
* kamikaze fs [http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.squashfs]
placer vous dans le dossier ou se trouve les trois fichiers
et rendez executable ap51-flash
$ chmod +x ap51-flash-fonera-1.0-38
et executez le script avec comme premier argument la carte reseau sur lequel est branché la fonera.
'''ATTENTION!!''' il est important d utiliser un cable croisé de plus si votre lecteur dvd utilise redboot il risque d etre affecté :)
la commande doit etre lancée avant la mise sous tension de la fonera
# ./ap51-flash-fonera-1.0-38 eth2 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma
Reading rootfs file openwrt-atheros-2.6-root.squashfs with 1179648 bytes...
Reading kernel file openwrt-atheros-2.6-vmlinux.lzma with 786432 bytes...
rootfs(0x006e0000) + kernel(0x000c0000) + nvram(0x00000000) sums up to 0x007a000
!!! attention cela dure aussi plus de dix minute
===configurer openwrt kamikaze pour fonera===
votre fonera est maintenant flashée avec une image openwrt kamikaze
nous allons la configurer
attribuer vous un adresse dans le range 192.168.1.255 par exemple 192.168.1.2 ( vous pouvez tout utiliser entre 192.168.1.2 et 192.168.1.254 le 192.168.1.1 étant le wrt )
pour facilement se rajouter une interface virtuelle qui servira a se conecter a la fonera sans changer votre adresse sous linux
executez cette commande ( en supposant que votre interface réseau se nomme eth0 )
#ifconfig eth0:0 192.168.1.136
vous pouvez ensuite vous connecter en telnet avec la commande suivante,
#telnet 192.168.1.1
vous voici connecté a la fonera
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.4.2 (2007-06-01 15:38:56 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.06) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
====configurer la fonera====
commencons par changer le mot de passe alcs. ( alcs = avec la commande suivante ;)
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
et aussi changer le hostname sers a mieux econnaitre la machine sur la quelle on travaille
uci show system
uci set system.cfg1.hostname=bombofon46
uci commit
=====network=====
Dans la version kamikaze de openwrt les fichiers de configuration se trouve dans le dossier /etc/config/
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 4.2.2.2
config interface wlan
option ifname ath0
option proto static
option ipaddr 10.93.1.52
option netmask 255.255.255.0
=====wireless=====
ensuite configurons les interfaces
dans la version kamikaze de openwrt les configuration se trouve dans le dossier /etc/config/
voici un fichiers d exemple adapté a reseaucitoyen
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
=====installer olsr=====
ipkg update
ipkg install olsrd olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice
/etc/olsrd.conf
DebugLevel 0
AllowNoInt yes
ClearScreen yes
UseHysteresis no
IpVersion 4
MprCoverage 7
TcRedundancy 2
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
LinkQualityLevel 2
LinkQualityWinSize 100
#
#
Interface "ath0"
{
}
un plugin pratique et decentralisé
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "panikv2"
PlParam "hosts-file" "/var/etc/hosts"
PlParam "suffix" ".bxl.rc"
}
une fois le fichier configuré vous pouvez activer olsr au demarage avec la commande suivante
#/etc/init.d/olsrd enable
=====nat=====
pour avoir facile
on desactive les regles de firewall de openwrt (adapté au bridge )
#chmod -x /etc/init.d/firewall
créons un fichier pour mettre les ( la ) nouvelle règle
#vi /etc/init.d/rcnat
et ajoutez cette ligne
iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
rendez le executable
#chmod +x /etc/init.d/rcnat
ensuite creez un lien symbolique dans /etc/rc.d/
#ln -s /etc/init.d/rcnat /etc/rc.d/S45rcnat
==config avancée==
===divers conseils concernant le mode ad-hoc===
====carte a ne pas utiliser au mode ad-hoc====
*senao
*orinoco
''conseil repris du forum openwrt ( par onebit)''
selon onebit, sous le mode ad-hoc.
le matériel Broadcom (wrt54g etc...) n' a aucun problème, par contre les cartes atheros (meraki, routerboard + CM9) ont quelques problèmes.
====quelques conseils:====
* compiler kamikaze avec le "rate control" mis a "sample".
Editez package/madwifi/Makefile et changez la valeur suivante.
RATE_CONTROL:=sample
* mettez la valeur de l option diversity a 0 dans /etc/config/wireless (le broadcast arrive dans une antenne)
* fixez le bssid sur tout les noeuds (pour arreter la divergence--> impossible avec les senaos)
* mettez les valeurs rts et frag a off (dans le "mesh mode" rts doit etre mis mais avec madwifi c est dur...)
* fixez le channel (random madwifi segmentation if omitted)
** exemple du fichier /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option diversity 0
option txantenna 1
option rxantenna 1
option agmode 11g
config wifi-iface
option device wifi0
option mode adhoc
option ssid XXX
option hidden 0
option encryption wep
option key XXXXXXXXXX
option bssid AA:BB:CC:DD:EE:FF
option txpower 18
#option rts 250
#option frag 256
'''a tester'''
* pour le probleme de "ramping" "ath_mgtstart: discard, no xmit buf"
#iwpriv ath0 uapsd 0
* pour allèger le problème de ramping (voir http://madwifi.org/ticket/1154)
#iwpriv ath0 bintval 1000
* fixez le rate sur l'interface
#iwconfig ath0 rate 12M
===mode ap et adhoc sur la meme interface===
afin que mamy puisse servire la communauté tout en surfant de son fauteuil
fichiers /etc/config wireless ( le mode ap doit etre en premier )
root@philt:~# cat /etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 1
option agmode 11b
option diversity 0
option txantenna 1
option rxantenna 1
#
config wifi-iface
option device wifi0
option network wlan0
option mode ap
option ssid bombolongap
option hidden 0
option txpower 16
option encryption none
#
config wifi-iface
option device wifi0
option network wlan1
option mode adhoc
option ssid bombolong
option hidden 0
option txpower 16
option encryption none
option bssid ca:fe:ca:fe:ca:fe
fichier /etc/config/network
root@philt:~# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#
config interface lan
option ifname eth0
option proto static
option ipaddr 192.168.0.137
option netmask 255.255.255.0
option gateway 192.168.0.133
option dns 4.2.2.2
#
config interface wlan0
option ifname ath0
option proto static
option ipaddr 169.254.93.1
option netmask 255.255.255.240
#
config interface wlan1
option ifname ath1
option proto static
option ipaddr 10.93.1.45
option netmask 255.255.255.0
modifiez le fichier de config olsr avec l interface ath1 dans ce cas ci
et offrons un peu de dhcp au m$ de mamy
en éditant le fichier:
--dako 2007-12-14
Kamikaze-rb433
0
1368
1815
2009-04-08T11:20:03Z
Dako
4
wikitext
text/x-wiki
=====installer openwrt kamikaze sur une routerboard rb-433=====
1816
1815
2009-04-08T11:32:54Z
Dako
4
/* installer openwrt kamikaze sur une routerboard rb-433 */
wikitext
text/x-wiki
==installer openwrt kamikaze sur une routerboard rb-433==
===compiler===
====compiler l'image "ramdisk"====
il vous faut pour cela récuperer la version de developpement d'openwrt
svn co svn://svn.openwrt.org/openwrt/trunk/
ensuite rendez vous dans le répertoire pour acceder au menu de comilation
$cd trunk
$make menuconfig
changez le target system a "Atheros AR71xx" et changez le target image a "ramdisk" vous pous pouvez sortir du menu en sauvant les changements.
ensuite comiler l' image en faisant
$make
====compiler l'image tgz ====
vous pouvez déja lancer la compilation de l'image d'installation
il suffit de retourner dans les menu et de changer la valeur image target en ".tgz"
si vous voulez compiler des paquets supplémentaires lancez la commande :
$make/package symlinks
ensuite réeditez le menu de compilation a l'aide de la commande
$make menuconfig
et selectionnez les paquets qui vous interessent (genre olsr, ...)
$make (pour compiler)
===charger openwrt en tftp===
===installer openwrt sur la NAND===
===configurer===
1817
1816
2009-04-08T11:40:04Z
Dako
4
wikitext
text/x-wiki
==installer openwrt kamikaze sur une routerboard rb-433==
===compiler===
====compiler l'image "ramdisk"====
il vous faut pour cela récuperer la version de developpement d'openwrt
svn co svn://svn.openwrt.org/openwrt/trunk/
ensuite rendez vous dans le répertoire pour acceder au menu de comilation
$cd trunk
$make menuconfig
changez le target system a "Atheros AR71xx" et changez le target image a "ramdisk" vous pous pouvez sortir du menu en sauvant les changements.
ensuite comiler l' image en faisant
$make
====compiler l'image tgz ====
vous pouvez déja lancer la compilation de l'image d'installation
il suffit de retourner dans les menu et de changer la valeur image target en ".tgz"
si vous voulez compiler des paquets supplémentaires lancez la commande :
$make/package symlinks
ensuite réeditez le menu de compilation a l'aide de la commande
$make menuconfig
et selectionnez les paquets qui vous interessent (genre olsr, ...)
$make (pour compiler)
===charger openwrt en tftp===
il nous faut maintenant charger la version "ramdisk" d openwrt sur notre rb433.
pour se faire nous configurons notre serveur dhcp pour qu'il donne les bonnes directives a la rb433
#mikrotik routerboar
host routerboard0 {
hardware ethernet 00:0c:42:07:d9:a9; #mac adresse de la rb433 (noté sur la rb433)
next-server 192.168.0.150;
fixed-address 192.168.0.118;
option routers 192.168.0.150;
filename "rb433.netboot"; #nom de l image sur le serveur tftp
}
et déposer l'image "ramdisk" se trouvant dans le dossier bin après une première compilation sous le nom de "openwrt-ar71xx-vmlinux-initramfs.elf" en la renommant en "rb433.netboot"
$cp bin/openwrt-ar71xx-vmlinux-initramfs.elf /tftpboot/rb433.netboot
===installer openwrt sur la NAND===
===configurer===
1818
1817
2009-04-08T11:48:50Z
Dako
4
/* installer openwrt sur la NAND */
wikitext
text/x-wiki
==installer openwrt kamikaze sur une routerboard rb-433==
===compiler===
====compiler l'image "ramdisk"====
il vous faut pour cela récuperer la version de developpement d'openwrt
svn co svn://svn.openwrt.org/openwrt/trunk/
ensuite rendez vous dans le répertoire pour acceder au menu de comilation
$cd trunk
$make menuconfig
changez le target system a "Atheros AR71xx" et changez le target image a "ramdisk" vous pous pouvez sortir du menu en sauvant les changements.
ensuite comiler l' image en faisant
$make
====compiler l'image tgz ====
vous pouvez déja lancer la compilation de l'image d'installation
il suffit de retourner dans les menu et de changer la valeur image target en ".tgz"
si vous voulez compiler des paquets supplémentaires lancez la commande :
$make/package symlinks
ensuite réeditez le menu de compilation a l'aide de la commande
$make menuconfig
et selectionnez les paquets qui vous interessent (genre olsr, ...)
$make (pour compiler)
===charger openwrt en tftp===
il nous faut maintenant charger la version "ramdisk" d openwrt sur notre rb433.
pour se faire nous configurons notre serveur dhcp pour qu'il donne les bonnes directives a la rb433
#mikrotik routerboar
host routerboard0 {
hardware ethernet 00:0c:42:07:d9:a9; #mac adresse de la rb433 (noté sur la rb433)
next-server 192.168.0.150;
fixed-address 192.168.0.118;
option routers 192.168.0.150;
filename "rb433.netboot"; #nom de l image sur le serveur tftp
}
et déposer l'image "ramdisk" se trouvant dans le dossier bin après une première compilation sous le nom de "openwrt-ar71xx-vmlinux-initramfs.elf" en la renommant en "rb433.netboot"
$cp bin/openwrt-ar71xx-vmlinux-initramfs.elf /tftpboot/rb433.netboot
===installer openwrt sur la NAND===
pour rendre disponible les fichiers d'installation permanante copiez les a la racine d'un serveur http
$cp bin/bin/openwrt-ar71xx-vmlinux.elf /var/www
$cp bin/openwrt-ar71xx-rootfs.tgz /var/www
redémarez la rb et rentrez dans le menu du bios pressez la touche "e" afin d'effacer la mémoire nand.
ensuite démarrer a nouveau sur votre version ramdisk
une fois openwrt boooté vous pouvez flasher
$wget2nand http://adresseduserveurhttp
l'image s'installe...
vous pouvez rebooter sans oublier de changer les parmètres au boot pour qu il boot sur la NAND et plus sur le réseau
===configurer===
1819
1818
2009-04-09T00:23:03Z
Dako
4
/* installer openwrt kamikaze sur une routerboard rb-433 */
wikitext
text/x-wiki
==installer openwrt kamikaze sur une routerboard rb-433==
tableau comparatif des versions utilisée:
trunk 8.09
ok
ipv6compile pas
===compiler===
====compiler l'image "ramdisk"====
il vous faut pour cela récuperer la version de developpement d'openwrt
svn co svn://svn.openwrt.org/openwrt/trunk/
ensuite rendez vous dans le répertoire pour acceder au menu de comilation
$cd trunk
$make menuconfig
changez le target system a "Atheros AR71xx" et changez le target image a "ramdisk" vous pous pouvez sortir du menu en sauvant les changements.
ensuite comiler l' image en faisant
$make
====compiler l'image tgz ====
vous pouvez déja lancer la compilation de l'image d'installation
il suffit de retourner dans les menu et de changer la valeur image target en ".tgz"
si vous voulez compiler des paquets supplémentaires lancez la commande :
$make/package symlinks
ensuite réeditez le menu de compilation a l'aide de la commande
$make menuconfig
et selectionnez les paquets qui vous interessent (genre olsr, ...)
$make (pour compiler)
===charger openwrt en tftp===
il nous faut maintenant charger la version "ramdisk" d openwrt sur notre rb433.
pour se faire nous configurons notre serveur dhcp pour qu'il donne les bonnes directives a la rb433
#mikrotik routerboar
host routerboard0 {
hardware ethernet 00:0c:42:07:d9:a9; #mac adresse de la rb433 (noté sur la rb433)
next-server 192.168.0.150;
fixed-address 192.168.0.118;
option routers 192.168.0.150;
filename "rb433.netboot"; #nom de l image sur le serveur tftp
}
et déposer l'image "ramdisk" se trouvant dans le dossier bin après une première compilation sous le nom de "openwrt-ar71xx-vmlinux-initramfs.elf" en la renommant en "rb433.netboot"
$cp bin/openwrt-ar71xx-vmlinux-initramfs.elf /tftpboot/rb433.netboot
===installer openwrt sur la NAND===
pour rendre disponible les fichiers d'installation permanante copiez les a la racine d'un serveur http
$cp bin/bin/openwrt-ar71xx-vmlinux.elf /var/www
$cp bin/openwrt-ar71xx-rootfs.tgz /var/www
redémarez la rb et rentrez dans le menu du bios pressez la touche "e" afin d'effacer la mémoire nand.
ensuite démarrer a nouveau sur votre version ramdisk
une fois openwrt boooté vous pouvez flasher
$wget2nand http://adresseduserveurhttp
l'image s'installe...
vous pouvez rebooter sans oublier de changer les parmètres au boot pour qu il boot sur la NAND et plus sur le réseau
===configurer===
1820
1819
2009-04-09T01:05:59Z
Dako
4
/* installer openwrt kamikaze sur une routerboard rb-433 */
wikitext
text/x-wiki
==installer openwrt kamikaze sur une routerboard rb-433==
tableau comparatif des versions utilisée:
trunk 8.09
ok ok
ipv6compile pas ok
===compiler===
====compiler l'image "ramdisk"====
il vous faut pour cela récuperer la version de developpement d'openwrt
svn co svn://svn.openwrt.org/openwrt/trunk/
ensuite rendez vous dans le répertoire pour acceder au menu de comilation
$cd trunk
$make menuconfig
changez le target system a "Atheros AR71xx" et changez le target image a "ramdisk" vous pous pouvez sortir du menu en sauvant les changements.
ensuite comiler l' image en faisant
$make
====compiler l'image tgz ====
vous pouvez déja lancer la compilation de l'image d'installation
il suffit de retourner dans les menu et de changer la valeur image target en ".tgz"
si vous voulez compiler des paquets supplémentaires lancez la commande :
$make/package symlinks
ensuite réeditez le menu de compilation a l'aide de la commande
$make menuconfig
et selectionnez les paquets qui vous interessent (genre olsr, ...)
$make (pour compiler)
===charger openwrt en tftp===
il nous faut maintenant charger la version "ramdisk" d openwrt sur notre rb433.
pour se faire nous configurons notre serveur dhcp pour qu'il donne les bonnes directives a la rb433
#mikrotik routerboar
host routerboard0 {
hardware ethernet 00:0c:42:07:d9:a9; #mac adresse de la rb433 (noté sur la rb433)
next-server 192.168.0.150;
fixed-address 192.168.0.118;
option routers 192.168.0.150;
filename "rb433.netboot"; #nom de l image sur le serveur tftp
}
et déposer l'image "ramdisk" se trouvant dans le dossier bin après une première compilation sous le nom de "openwrt-ar71xx-vmlinux-initramfs.elf" en la renommant en "rb433.netboot"
$cp bin/openwrt-ar71xx-vmlinux-initramfs.elf /tftpboot/rb433.netboot
===installer openwrt sur la NAND===
pour rendre disponible les fichiers d'installation permanante copiez les a la racine d'un serveur http
$cp bin/bin/openwrt-ar71xx-vmlinux.elf /var/www
$cp bin/openwrt-ar71xx-rootfs.tgz /var/www
redémarez la rb et rentrez dans le menu du bios pressez la touche "e" afin d'effacer la mémoire nand.
ensuite démarrer a nouveau sur votre version ramdisk
une fois openwrt boooté vous pouvez flasher
$wget2nand http://adresseduserveurhttp
l'image s'installe...
vous pouvez rebooter sans oublier de changer les parmètres au boot pour qu il boot sur la NAND et plus sur le réseau
===configurer===
1827
1820
2009-10-24T02:01:05Z
Dako
4
wikitext
text/x-wiki
!!Une version plus a jour se trouve maintenant à cette page: http://reseaucitoyen.org/ !!
==installer openwrt kamikaze sur une routerboard rb-433==
===compiler===
====compiler l'image "ramdisk"====
il vous faut pour cela récuperer la version de developpement d'openwrt
svn co svn://svn.openwrt.org/openwrt/trunk/
ensuite rendez vous dans le répertoire pour acceder au menu de comilation
$cd trunk
$make menuconfig
changez le target system a "Atheros AR71xx" et changez le target image a "ramdisk" vous pous pouvez sortir du menu en sauvant les changements.
ensuite comiler l' image en faisant
$make
====compiler l'image tgz ====
vous pouvez déja lancer la compilation de l'image d'installation
il suffit de retourner dans les menu et de changer la valeur image target en ".tgz"
si vous voulez compiler des paquets supplémentaires lancez la commande :
$make/package symlinks
ensuite réeditez le menu de compilation a l'aide de la commande
$make menuconfig
et selectionnez les paquets qui vous interessent (genre olsr, ...)
$make (pour compiler)
===charger openwrt en tftp===
il nous faut maintenant charger la version "ramdisk" d openwrt sur notre rb433.
pour se faire nous configurons notre serveur dhcp pour qu'il donne les bonnes directives a la rb433
#mikrotik routerboar
host routerboard0 {
hardware ethernet 00:0c:42:07:d9:a9; #mac adresse de la rb433 (noté sur la rb433)
next-server 192.168.0.150;
fixed-address 192.168.0.118;
option routers 192.168.0.150;
filename "rb433.netboot"; #nom de l image sur le serveur tftp
}
et déposer l'image "ramdisk" se trouvant dans le dossier bin après une première compilation sous le nom de "openwrt-ar71xx-vmlinux-initramfs.elf" en la renommant en "rb433.netboot"
$cp bin/openwrt-ar71xx-vmlinux-initramfs.elf /tftpboot/rb433.netboot
===installer openwrt sur la NAND===
pour rendre disponible les fichiers d'installation permanante copiez les a la racine d'un serveur http
$cp bin/bin/openwrt-ar71xx-vmlinux.elf /var/www
$cp bin/openwrt-ar71xx-rootfs.tgz /var/www
redémarez la rb et rentrez dans le menu du bios pressez la touche "e" afin d'effacer la mémoire nand.
ensuite démarrer a nouveau sur votre version ramdisk
une fois openwrt boooté vous pouvez flasher
$wget2nand http://adresseduserveurhttp
l'image s'installe...
vous pouvez rebooter sans oublier de changer les parmètres au boot pour qu il boot sur la NAND et plus sur le réseau
===configurer===
Kamikaze-luci
0
1369
1824
2009-04-24T22:00:11Z
Dako
4
wikitext
text/x-wiki
télécharger l'image
wget http://downloads.openwrt.org/kamikaze/8.09/x86/openwrt-x86-ext2.image
insérez une compactflash et flashez le firmware
dd if=openwrt-x86-ext2.image of=/dev/sda
mountez la parttion 2
mount /dev/sda2 /tmp
récupérez le driver réseau
cd /tmp/www/
wget http://downloads.openwrt.org/kamikaze/8.09/x86/packages/kmod-via-rhine_2.6.25.17-x86-1_i386.ipk
démontez et insèrez la carte dans le wrap
1825
1824
2009-04-24T22:09:28Z
Dako
4
wikitext
text/x-wiki
télécharger l'image
wget http://downloads.openwrt.org/kamikaze/8.09/x86/openwrt-x86-ext2.image
insérez une compactflash et flashez le firmware
dd if=openwrt-x86-ext2.image of=/dev/sda
mountez la parttion 2
mount /dev/sda2 /tmp
récupérez le driver réseau
cd /tmp/www/
wget http://downloads.openwrt.org/kamikaze/8.09/x86/packages/kmod-via-rhine_2.6.25.17-x86-1_i386.ipk
démontez et insèrez la carte dans le wrap
branchez votre cable série et lancez minicom
installer les drivers reseaux
opkg install kmod-via-rhine_2.6.25.17-x86-1_i386.ipk
1826
1825
2009-04-26T20:20:26Z
Dako
4
wikitext
text/x-wiki
télécharger l'image
wget http://downloads.openwrt.org/kamikaze/8.09/x86/openwrt-x86-ext2.image
insérez une compactflash et flashez le firmware
dd if=openwrt-x86-ext2.image of=/dev/sda
mountez la parttion 2
mount /dev/sda2 /tmp
récupérez le driver réseau
cd /tmp/www/
wget http://downloads.openwrt.org/kamikaze/8.09/x86/packages/kmod-via-rhine_2.6.25.17-x86-1_i386.ipk
démontez et insèrez la carte dans le wrap
branchez votre cable série et lancez minicom
installer les drivers reseaux
opkg install kmod-via-rhine_2.6.25.17-x86-1_i386.ipk
rebootez
reboot
vous pouvez uiliser l'interface http pour configurer le reste http://ipdunoeud
paquet a installer
opkg update && opkg install kmod-madwifi luci-admin-full luci-app-olsr
un petit reboot pour qu il charge les interfaces atheros